Skip to content

Commit 1dcc4a3

Browse files
authored
Merge branch 'main' into all-repos_autofix_skip-concurrent-builds
2 parents ec51bc7 + 319c300 commit 1dcc4a3

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 11 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.0.1
3+
rev: v4.1.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=25']
@@ -12,7 +12,6 @@ repos:
1212
- id: debug-statements
1313
- id: end-of-file-fixer
1414
- id: fix-byte-order-marker
15-
- id: forbid-new-submodules
1615
- id: mixed-line-ending
1716
- id: no-commit-to-branch
1817
args: [--branch, main]
@@ -30,29 +29,29 @@ repos:
3029
- id: rst-inline-touching-normal
3130
- id: text-unicode-replacement-char
3231
- repo: https://github.com/asottile/pyupgrade
33-
rev: v2.21.2
32+
rev: v2.31.0
3433
hooks:
3534
- id: pyupgrade
3635
args: [--py36-plus]
3736
- repo: https://github.com/asottile/reorder_python_imports
38-
rev: v2.5.0
37+
rev: v2.7.1
3938
hooks:
4039
- id: reorder-python-imports
4140
- repo: https://github.com/asottile/setup-cfg-fmt
42-
rev: v1.17.0
41+
rev: v1.20.0
4342
hooks:
4443
- id: setup-cfg-fmt
4544
- repo: https://github.com/psf/black
46-
rev: 21.7b0
45+
rev: 22.1.0
4746
hooks:
4847
- id: black
4948
- repo: https://github.com/asottile/blacken-docs
50-
rev: v1.10.0
49+
rev: v1.12.1
5150
hooks:
5251
- id: blacken-docs
5352
additional_dependencies: [black]
5453
- repo: https://github.com/PyCQA/flake8
55-
rev: 3.9.2
54+
rev: 4.0.1
5655
hooks:
5756
- id: flake8
5857
types: [python]
@@ -73,11 +72,11 @@ repos:
7372
Pygments,
7473
]
7574
- repo: https://github.com/PyCQA/doc8
76-
rev: 0.9.0
75+
rev: 0.10.1
7776
hooks:
7877
- id: doc8
7978
- repo: https://github.com/econchick/interrogate
80-
rev: 1.4.0
79+
rev: 1.5.0
8180
hooks:
8281
- id: interrogate
8382
args: [-v, --fail-under=40, src, tests]
@@ -87,7 +86,7 @@ repos:
8786
- id: codespell
8887
args: [-L unparseable]
8988
- repo: https://github.com/mgedmin/check-manifest
90-
rev: "0.46"
89+
rev: "0.47"
9190
hooks:
9291
- id: check-manifest
9392
- repo: meta

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers =
1919
Programming Language :: Python :: 3.7
2020
Programming Language :: Python :: 3.8
2121
Programming Language :: Python :: 3.9
22+
Programming Language :: Python :: 3.10
2223
project_urls =
2324
Documentation = https://github.com/pytask-dev/pytask-stata
2425
Github = https://github.com/pytask-dev/pytask-stata

tests/test_execute.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ def task_run_do_file():
8181
tmp_path.joinpath("script.do").write_text(textwrap.dedent("1 + 1"))
8282

8383
# Hide Stata if available.
84-
monkeypatch.setattr("pytask_stata.config.shutil.which", lambda x: None)
84+
monkeypatch.setattr(
85+
"pytask_stata.config.shutil.which", lambda x: None # noqa: U100
86+
)
8587

8688
session = main({"paths": tmp_path})
8789

0 commit comments

Comments
 (0)