Skip to content

[pre-commit.ci] pre-commit autoupdate #159

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

Merged
merged 1 commit into from
Aug 2, 2022
Merged
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
29 changes: 14 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.2
rev: v2.37.3
hooks:
- id: pyupgrade
args: [ "--py36-plus" ]
Expand All @@ -29,30 +29,29 @@ repos:
rev: v1.12.1
hooks:
- id: blacken-docs
additional_dependencies: [ black==21.12b0 ]
additional_dependencies: [ black==22.6.0 ]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
- id: rst-backticks
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.0.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "0.5.2"
hooks:
- id: tox-ini-fmt
args: [ "-p", "fix_lint" ]
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.2
hooks:
- id: setup-cfg-fmt
args: [ --min-py3-version, "3.7", "--max-py-version", "3.10" ]
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 5.0.3
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==21.11.29
- flake8-comprehensions==3.7
- flake8-pytest-style==1.6
- flake8-spellcheck==0.24
- flake8-unused-arguments==0.0.9
- flake8-noqa==1.2.1
- pep8-naming==0.12.1
- flake8-bugbear==22.7.1
- flake8-comprehensions==3.10.0
- flake8-pytest-style==1.6.0
- flake8-spellcheck==0.28.0
- flake8-unused-arguments==0.0.11
- flake8-noqa==1.2.8
- pep8-naming==0.13.1
4 changes: 0 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Internet
Topic :: Software Development :: Libraries
Topic :: System
Expand Down
16 changes: 9 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ passenv =
basepython = python3.10
skip_install = true
deps =
pre-commit>=2
pre-commit>=2.20
commands =
pre-commit run --all-files --show-diff-on-failure
python -c 'import pathlib; print("hint: run \{\} install to add checks as pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
Expand All @@ -50,7 +50,7 @@ description = run type check on code base
setenv =
{tty:MYPY_FORCE_COLOR = 1}
deps =
mypy==0.930
mypy==0.971
commands =
mypy --strict src/filelock
mypy --strict tests
Expand All @@ -63,9 +63,9 @@ setenv =
COVERAGE_FILE = {toxworkdir}/.coverage
skip_install = true
deps =
covdefaults>=2.1
coverage>=6.2
diff-cover>=6.4
covdefaults>=2.2
coverage>=6.4
diff-cover>=6.5
extras =
parallel_show_output = true
commands =
Expand Down Expand Up @@ -94,8 +94,8 @@ commands =
description = check that the long description is valid (need for PyPI)
skip_install = true
deps =
build>=0.6
twine>=3
build[virtualenv]>=0.8
twine>=4
extras =
commands =
pyproject-build -o {envtmpdir} --wheel --sdist .
Expand All @@ -114,6 +114,8 @@ commands =
[flake8]
max-complexity = 22
max-line-length = 120
noqa-require-code = true
dictionaries = en_US,python,technical,django

[pep8]
max-line-length = 120
Expand Down
20 changes: 3 additions & 17 deletions whitelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@ autoclass
autodoc
autosectionlabel
caplog
creat
eacces
eexist
enoent
exc
extlinks
favicon
fcntl
filelock
fmt
frameinfo
fspath
getframeinfo
intersphinx
intervall
isabstract
Expand All @@ -21,26 +17,16 @@ iwoth
iwusr
levelno
lk
lockfile
msvcrt
nblck
nitpicky
notset
param
pathlib
pygments
rdwr
ro
runtime
skipif
tmp
stacklevel
trunc
typehints
unlck
util
win32
wronly
stacklevel
frameinfo
getframeinfo
lineno