Skip to content

Commit d672220

Browse files
committed
Bump deps and tools
Signed-off-by: Bernát Gábor <[email protected]>
1 parent c3ce477 commit d672220

File tree

5 files changed

+31
-19
lines changed

5 files changed

+31
-19
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.3.0
3+
rev: v4.4.0
44
hooks:
55
- id: check-ast
66
- id: check-builtin-literals
@@ -12,7 +12,7 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.2.2
15+
rev: v3.3.0
1616
hooks:
1717
- id: pyupgrade
1818
args: ["--py36-plus"]
@@ -40,7 +40,7 @@ repos:
4040
- id: tox-ini-fmt
4141
args: ["-p", "fix"]
4242
- repo: https://github.com/PyCQA/flake8
43-
rev: 5.0.4
43+
rev: 6.0.0
4444
hooks:
4545
- id: flake8
4646
additional_dependencies:
@@ -49,10 +49,11 @@ repos:
4949
- flake8-pytest-style==1.6
5050
- flake8-spellcheck==0.28
5151
- flake8-unused-arguments==0.0.12
52-
- flake8-noqa==1.2.9
52+
- flake8-noqa==1.3
5353
- pep8-naming==0.13.2
54+
- flake8-pyproject==1.2.1
5455
- repo: https://github.com/pre-commit/mirrors-prettier
55-
rev: "v3.0.0-alpha.4"
56+
rev: "v2.7.1"
5657
hooks:
5758
- id: prettier
5859
additional_dependencies:

pyproject.toml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools>=65.5", "setuptools_scm>=7.0.5"]
2+
requires = ["setuptools>=65.6.3", "setuptools_scm>=7.0.5"]
33
build-backend = 'setuptools.build_meta'
44

55
[tool.black]
@@ -16,3 +16,16 @@ write_to_template = """
1616
1717
__version__ = "{version}"
1818
"""
19+
20+
[tool.pep8]
21+
max-line-length = "120"
22+
23+
[tool.flake8]
24+
max-complexity = 22
25+
max-line-length = 120
26+
unused-arguments-ignore-abstract-functions = true
27+
noqa-require-code = true
28+
dictionaries = ["en_US", "python", "technical", "django"]
29+
ignore = [
30+
"E203", # whitespace before ':'
31+
]

setup.cfg

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ where = src
4141

4242
[options.extras_require]
4343
test =
44-
covdefaults>=2.2
45-
httpx>=0.23
44+
covdefaults>=2.2.2
45+
httpx>=0.23.1
4646
pytest>=7.2
4747
pytest-cov>=4
4848

@@ -52,15 +52,6 @@ devpi_process = py.typed
5252
[sdist]
5353
formats = gztar
5454

55-
[flake8]
56-
max-complexity = 22
57-
max-line-length = 120
58-
unused-arguments-ignore-abstract-functions = true
59-
noqa-require-code = true
60-
dictionaries = en_US,python,technical,django
61-
ignore =
62-
E203 # whitespace before :
63-
6455
[coverage:run]
6556
plugins = covdefaults
6657
parallel = true

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ description = run type check on code base
4545
setenv =
4646
{tty:MYPY_FORCE_COLOR = 1}
4747
deps =
48-
mypy==0.982
48+
mypy==0.991
4949
commands =
5050
mypy --strict --python-version 3.10 src
5151
mypy --strict --python-version 3.10 tests
@@ -55,7 +55,7 @@ description = check that the long description is valid
5555
skip_install = true
5656
deps =
5757
build[virtualenv]>=0.9
58-
twine>=4.0.1
58+
twine>=4.0.2
5959
commands =
6060
python -m build --sdist --wheel -o {envtmpdir} .
6161
twine check {envtmpdir}/*

whitelist.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
addfile
2+
cmd
23
devpi
4+
dirname
5+
exc
36
exe
47
getsockname
58
inet
69
mktemp
10+
popen
711
readline
812
sdist
913
sysconfig
14+
tmp
1015
tmpdir
16+
util
17+
writestr

0 commit comments

Comments
 (0)