Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump darker from 1.2.3 to 1.2.4 #4

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
root = true
17 changes: 17 additions & 0 deletions .flake8
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 ','
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
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
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"python.linting.flake8Enabled": false,
"python.linting.pylintEnabled": false,
}
21 changes: 21 additions & 0 deletions Pipfile
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"
419 changes: 419 additions & 0 deletions Pipfile.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions mypy.ini
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
Loading