Skip to content

Commit d8c6eb0

Browse files
authored
Bump deps and tools (#193)
Committed via https://github.com/asottile/all-repos Signed-off-by: Bernát Gábor <[email protected]>
1 parent 4d35270 commit d8c6eb0

File tree

4 files changed

+39
-25
lines changed

4 files changed

+39
-25
lines changed

Diff for: .pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ repos:
2626
hooks:
2727
- id: isort
2828
- repo: https://github.com/psf/black
29-
rev: 22.12.0
29+
rev: 23.1.0
3030
hooks:
3131
- id: black
3232
args: [--safe]
3333
- repo: https://github.com/asottile/blacken-docs
3434
rev: 1.13.0
3535
hooks:
3636
- id: blacken-docs
37-
additional_dependencies: [black==22.12]
37+
additional_dependencies: [black==23.1]
3838
- repo: https://github.com/pre-commit/pygrep-hooks
3939
rev: v1.10.0
4040
hooks:
@@ -49,16 +49,16 @@ repos:
4949
hooks:
5050
- id: flake8
5151
additional_dependencies:
52-
- flake8-bugbear==22.12.6
52+
- flake8-bugbear==23.1.20
5353
- flake8-comprehensions==3.10.1
5454
- flake8-pytest-style==1.6
5555
- flake8-spellcheck==0.28
56-
- flake8-unused-arguments==0.0.12
56+
- flake8-unused-arguments==0.0.13
5757
- flake8-noqa==1.3
5858
- pep8-naming==0.13.3
5959
- flake8-pyproject==1.2.2
6060
- repo: https://github.com/pre-commit/mirrors-prettier
61-
rev: "v3.0.0-alpha.4"
61+
rev: "v2.7.1"
6262
hooks:
6363
- id: prettier
6464
additional_dependencies:

Diff for: pyproject.toml

+30-15
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
11
[build-system]
22
build-backend = "hatchling.build"
3-
requires = ["hatchling>=1.11.1", "hatch-vcs>=0.3"]
3+
requires = [
4+
"hatch-vcs>=0.3",
5+
"hatchling>=1.12.2",
6+
]
47

58
[project]
69
name = "filelock"
710
description = "A platform independent file lock."
811
readme = "README.md"
12+
keywords = [
13+
"application",
14+
"cache",
15+
"directory",
16+
"log",
17+
"user",
18+
]
919
license = "Unlicense"
1020
maintainers = [{ name = "Bernát Gábor", email = "[email protected]" }]
11-
urls.Documentation = "https://py-filelock.readthedocs.io"
12-
urls.Homepage = "https://github.com/tox-dev/py-filelock"
13-
urls.Source = "https://github.com/tox-dev/py-filelock"
14-
urls.Tracker = "https://github.com/tox-dev/py-filelock/issues"
1521
requires-python = ">=3.7"
16-
optional-dependencies.testing = [
17-
"covdefaults>=2.2.2",
18-
"coverage>=7.0.1",
19-
"pytest>=7.2",
20-
"pytest-cov>=4",
21-
"pytest-timeout>=2.1",
22-
]
23-
optional-dependencies.docs = ["furo>=2022.12.7", "sphinx>=5.3", "sphinx-autodoc-typehints>=1.19.5"]
24-
keywords = ["application", "cache", "directory", "log", "user"]
2522
classifiers = [
2623
"Development Status :: 5 - Production/Stable",
2724
"Intended Audience :: Developers",
@@ -34,7 +31,25 @@ classifiers = [
3431
"Topic :: Software Development :: Libraries",
3532
"Topic :: System",
3633
]
37-
dynamic = ["version"]
34+
dynamic = [
35+
"version",
36+
]
37+
optional-dependencies.docs = [
38+
"furo>=2022.12.7",
39+
"sphinx>=6.1.3",
40+
"sphinx-autodoc-typehints!=1.23.4,>=1.22",
41+
]
42+
optional-dependencies.testing = [
43+
"covdefaults>=2.2.2",
44+
"coverage>=7.1",
45+
"pytest>=7.2.1",
46+
"pytest-cov>=4",
47+
"pytest-timeout>=2.1",
48+
]
49+
urls.Documentation = "https://py-filelock.readthedocs.io"
50+
urls.Homepage = "https://github.com/tox-dev/py-filelock"
51+
urls.Source = "https://github.com/tox-dev/py-filelock"
52+
urls.Tracker = "https://github.com/tox-dev/py-filelock/issues"
3853

3954
[tool.hatch]
4055
build.hooks.vcs.version-file = "src/filelock/version.py"

Diff for: src/filelock/_api.py

-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ def release(self, force: bool = False) -> None:
199199
:param force: If true, the lock counter is ignored and the lock is released in every case/
200200
"""
201201
with self._thread_lock:
202-
203202
if self.is_locked:
204203
self._lock_counter -= 1
205204

Diff for: tox.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ passenv =
3939
basepython = python3.10
4040
skip_install = true
4141
deps =
42-
pre-commit>=2.21
42+
pre-commit>=3.0.4
4343
commands =
4444
pre-commit run --all-files --show-diff-on-failure
4545
python -c 'import pathlib; print("hint: run \{\} install to add checks as pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
@@ -63,8 +63,8 @@ setenv =
6363
skip_install = true
6464
deps =
6565
covdefaults>=2.2.2
66-
coverage[toml]>=7.0.1
67-
diff-cover>=7.3
66+
coverage[toml]>=7.1
67+
diff-cover>=7.4
6868
extras =
6969
parallel_show_output = true
7070
commands =
@@ -93,7 +93,7 @@ commands =
9393
description = check that the long description is valid (need for PyPI)
9494
skip_install = true
9595
deps =
96-
build[virtualenv]>=0.9
96+
build[virtualenv]>=0.10
9797
twine>=4.0.2
9898
extras =
9999
commands =

0 commit comments

Comments
 (0)