Skip to content

Commit 3ba332f

Browse files
authored
Merge pull request #30 from pganssle/update_precommit
Run pre-commit autoupdate
2 parents 842c538 + e42e157 commit 3ba332f

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: stable
3+
rev: 20.8b1
44
hooks:
55
- id: black
66
language_version: python3.8
77

88
- repo: https://github.com/pre-commit/mirrors-isort
9-
rev: v4.3.21
9+
rev: v5.5.4
1010
hooks:
1111
- id: isort
1212
additional_dependencies: [toml]
1313
language_version: python3.8
1414

1515
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v2.4.0
16+
rev: v3.2.0
1717
hooks:
1818
- id: trailing-whitespace
1919
- id: debug-statements
2020

2121
- repo: https://github.com/asottile/setup-cfg-fmt
22-
rev: v1.9.0
22+
rev: v1.14.0
2323
hooks:
2424
- id: setup-cfg-fmt

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
66

77
import sphinx_bootstrap_theme
8+
89
import tzdata
910

1011
# -- Project information -----------------------------------------------------

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ atomic=true
77
force_grid_wrap=0
88
include_trailing_comma=true
99
known_first_party=["tzdata"]
10-
known_standard_library=["zoneinfo"]
10+
extra_standard_library=["zoneinfo"]
1111
known_third_party=["click", "parver", "pytest", "requests"]
1212
multi_line_output=3
13-
not_skip="__init__.py"
1413
use_parentheses=true

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ description = Run auto formatters
5454
skip_install = True
5555
deps =
5656
black
57-
isort
57+
isort >= 5.0.0
5858
commands =
5959
black .
6060
isort update.py

update.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ def unpack_tzdb_tarballs(download_locations: typing.List[pathlib.Path]) -> pathl
6666
for tarball in download_locations:
6767
logging.info("Unpacking %s to %s", tarball, target_dir)
6868
subprocess.run(
69-
["tar", "-xf", os.fspath(tarball.absolute())], cwd=target_dir, check=True,
69+
["tar", "-xf", os.fspath(tarball.absolute())],
70+
cwd=target_dir,
71+
check=True,
7072
)
7173

7274
return target_dir

0 commit comments

Comments
 (0)