forked from RDFLib/rdflib
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,548 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
root = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# https://flake8.pycqa.org/en/latest/user/configuration.html | ||
[flake8] | ||
exclude = .svn,CVS,.bzr,.hg,.git,__pycache__,.venv,test | ||
# Recommend matching the black line length (default 88), | ||
# rather than using the flake8 default of 79: | ||
max-line-length = 88 | ||
extend-ignore = | ||
# See https://github.com/PyCQA/pycodestyle/issues/373 | ||
E203, | ||
# W503, # line break before binary operator | ||
# E722, # do not use bare 'except' | ||
# B009, # Do not call getattr with a constant attribute value | ||
# E501, # line too long | ||
# B007, # Loop control variable ? not used within the loop body. | ||
# E402, # module level import not at top of file | ||
# F401, # ? imported but unused | ||
# E231, # missing whitespace after ',' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# https://pre-commit.com/ | ||
# pre-commit run --all-files -vvv | ||
repos: | ||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.2 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: | ||
- flake8-bugbear | ||
- flake8-black | ||
files: '(rdflib|test)/.*[.]py' | ||
- repo: https://github.com/pre-commit/mirrors-mypy | ||
rev: v0.800 | ||
hooks: | ||
- id: mypy | ||
files: '(rdflib|test)/.*[.]py' | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.1.0 | ||
hooks: | ||
- id: check-byte-order-marker | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"python.linting.flake8Enabled": false, | ||
"python.linting.pylintEnabled": false, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[[source]] | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
html5lib = "*" | ||
isodate = "*" | ||
pyparsing = "*" | ||
|
||
[dev-packages] | ||
sphinxcontrib-apidoc = "*" | ||
nose = "==1.3.7" | ||
nose-timer = "*" | ||
coverage = "*" | ||
flake8 = "*" | ||
doctest-ignore-unicode = "==0.1.2" | ||
Sphinx = "*" | ||
|
||
[requires] | ||
python_version = "3.9" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# https://mypy.readthedocs.io/en/stable/config_file.html | ||
[mypy] | ||
python_version = 3.6 | ||
warn_unused_configs = True | ||
ignore_missing_imports = True | ||
disallow_subclassing_any = False |
Oops, something went wrong.