Skip to content

Commit e81caba

Browse files
pre-commit-ci[bot]gaborbernat
authored andcommitted
[pre-commit.ci] pre-commit autoupdate (#1)
updates: - [github.com/tox-dev/tox-ini-fmt: 0.5.0 → 0.5.1](tox-dev/tox-ini-fmt@0.5.0...0.5.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 80f98c7 commit e81caba

6 files changed

Lines changed: 29 additions & 23 deletions

File tree

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- Windows
2525
- MacOs
2626
py:
27-
- 3.10.0-beta.2
27+
- 3.10.0-rc.2
2828
- 3.9
2929
- 3.8
3030
- 3.7
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup python for tox
3535
uses: actions/setup-python@v2
3636
with:
37-
python-version: 3.9
37+
python-version: 3.10.0-rc.2
3838
- name: Install tox
3939
run: python -m pip install tox
4040
- uses: actions/checkout@v2
@@ -78,7 +78,7 @@ jobs:
7878
- name: Setup python
7979
uses: actions/setup-python@v2
8080
with:
81-
python-version: 3.9
81+
python-version: 3.10.0-rc.2
8282
- name: Install tox
8383
run: python -m pip install tox
8484
- name: Run check for ${{ matrix.tox_env }}
@@ -94,7 +94,7 @@ jobs:
9494
- name: Setup python to build package
9595
uses: actions/setup-python@v2
9696
with:
97-
python-version: 3.9
97+
python-version: 3.10.0-rc.2
9898
- name: Install build
9999
run: python -m pip install 'build>=0.4'
100100
- uses: actions/checkout@v2

.pre-commit-config.yaml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v2.19.4
15+
rev: v2.29.0
1616
hooks:
1717
- id: pyupgrade
1818
- repo: https://github.com/PyCQA/isort
19-
rev: 5.9.1
19+
rev: 5.9.3
2020
hooks:
2121
- id: isort
2222
- repo: https://github.com/psf/black
23-
rev: 21.6b0
23+
rev: 21.9b0
2424
hooks:
2525
- id: black
2626
- repo: https://github.com/asottile/blacken-docs
27-
rev: v1.10.0
27+
rev: v1.11.0
2828
hooks:
2929
- id: blacken-docs
30-
additional_dependencies: [ black==21.6b0 ]
30+
additional_dependencies: [ black==21.9b0 ]
3131
- repo: https://github.com/pre-commit/pygrep-hooks
3232
rev: v1.9.0
3333
hooks:
@@ -38,18 +38,20 @@ repos:
3838
- id: setup-cfg-fmt
3939
args: [--min-py3-version, "3.6", "--max-py-version", "3.10"]
4040
- repo: https://github.com/tox-dev/tox-ini-fmt
41-
rev: "0.5.0"
41+
rev: "0.5.1"
4242
hooks:
4343
- id: tox-ini-fmt
4444
args: ["-p", "fix"]
4545
- repo: https://github.com/PyCQA/flake8
4646
rev: "3.9.2"
4747
hooks:
4848
- id: flake8
49-
additional_dependencies: [
50-
"flake8-bugbear == 21.4.3",
51-
"flake8-unused-arguments == 0.0.6",
52-
"flake8-comprehensions == 3.5.0",
53-
"flake8-spellcheck == 0.24.0",
54-
"flake8-pytest-style == 1.4.2",
55-
]
49+
additional_dependencies:
50+
- flake8-bugbear==21.9.2
51+
- flake8-comprehensions==3.6.1
52+
- flake8-pytest-style==1.5
53+
- flake8-spellcheck==0.24
54+
- flake8-unused-arguments==0.0.6
55+
- flake8-noqa==1.1.0
56+
- flake8-eradicate==1.1.0
57+
- pep8-naming==0.12.1

setup.cfg

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,13 @@ devpi_process = py.typed
5757
formats = gztar
5858

5959
[flake8]
60+
max-complexity = 22
6061
max-line-length = 120
61-
ignore = F401, H301, E203
62+
unused-arguments-ignore-abstract-functions = true
63+
noqa-require-code = true
64+
dictionaries = en_US,python,technical
65+
ignore =
66+
E203 # whitespace before :
6267

6368
[coverage:run]
6469
source =

tests/demo_pkg_inline/build.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import sys
33
import tarfile
44
from io import BytesIO
5-
from tempfile import NamedTemporaryFile
65
from textwrap import dedent
76
from typing import List, Optional
87
from zipfile import ZipFile

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ description = run type check on code base
5151
setenv =
5252
{tty:MYPY_FORCE_COLOR = 1}
5353
deps =
54-
mypy==0.902
54+
mypy==0.910
5555
extras =
5656
test
5757
commands =

whitelist.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
INET
2-
Popen
3-
Runtime
41
addfile
52
cmd
63
dedent
@@ -9,9 +6,12 @@ dirname
96
exc
107
exe
118
getsockname
9+
inet
1210
mktemp
1311
pathlib
12+
popen
1413
readline
14+
runtime
1515
sdist
1616
sysconfig
1717
textwrap

0 commit comments

Comments
 (0)