Skip to content

Commit 34d76df

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

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

Diff for: .pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ repos:
4949
hooks:
5050
- id: flake8
5151
additional_dependencies:
52-
- flake8-bugbear==23.1.20
52+
- flake8-bugbear==23.2.13
5353
- flake8-comprehensions==3.10.1
54-
- flake8-pytest-style==1.6
54+
- flake8-pytest-style==1.7.2
5555
- flake8-spellcheck==0.28
5656
- flake8-unused-arguments==0.0.13
5757
- flake8-noqa==1.3

Diff for: pyproject.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "hatchling.build"
33
requires = [
44
"hatch-vcs>=0.3",
5-
"hatchling>=1.12.2",
5+
"hatchling>=1.13",
66
]
77

88
[project]
@@ -40,9 +40,9 @@ optional-dependencies.docs = [
4040
"sphinx-autodoc-typehints!=1.23.4,>=1.22",
4141
]
4242
optional-dependencies.testing = [
43-
"covdefaults>=2.2.2",
44-
"coverage>=7.1",
45-
"pytest>=7.2.1",
43+
"covdefaults>=2.3",
44+
"coverage>=7.2.1",
45+
"pytest>=7.2.2",
4646
"pytest-cov>=4",
4747
"pytest-timeout>=2.1",
4848
]

Diff for: src/filelock/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
else:
3131
_FileLock = SoftFileLock
3232
if warnings is not None:
33-
warnings.warn("only soft file lock is available")
33+
warnings.warn("only soft file lock is available", stacklevel=2)
3434

3535
#: Alias for the lock, which should be used for the current platform. On Windows, this is an alias for
3636
# :class:`WindowsFileLock`, on Unix for :class:`UnixFileLock` and otherwise for :class:`SoftFileLock`.

Diff for: tox.ini

+5-5
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>=3.0.4
42+
pre-commit>=3.1.1
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"))'
@@ -49,7 +49,7 @@ description = run type check on code base
4949
setenv =
5050
{tty:MYPY_FORCE_COLOR = 1}
5151
deps =
52-
mypy==0.991
52+
mypy==1.1.1
5353
commands =
5454
mypy --strict src/filelock
5555
mypy --strict tests
@@ -62,9 +62,9 @@ setenv =
6262
COVERAGE_FILE = {toxworkdir}/.coverage
6363
skip_install = true
6464
deps =
65-
covdefaults>=2.2.2
66-
coverage[toml]>=7.1
67-
diff-cover>=7.4
65+
covdefaults>=2.3
66+
coverage[toml]>=7.2.1
67+
diff-cover>=7.5
6868
extras =
6969
parallel_show_output = true
7070
commands =

0 commit comments

Comments
 (0)