Skip to content

Commit

Permalink
Bump deps and tools
Browse files Browse the repository at this point in the history
Committed via https://github.com/asottile/all-repos

Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
  • Loading branch information
gaborbernat committed Mar 12, 2023
1 parent d8c6eb0 commit fc386bf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -49,9 +49,9 @@ repos:
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==23.1.20
- flake8-bugbear==23.2.13
- flake8-comprehensions==3.10.1
- flake8-pytest-style==1.6
- flake8-pytest-style==1.7.2
- flake8-spellcheck==0.28
- flake8-unused-arguments==0.0.13
- flake8-noqa==1.3
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Expand Up @@ -2,7 +2,7 @@
build-backend = "hatchling.build"
requires = [
"hatch-vcs>=0.3",
"hatchling>=1.12.2",
"hatchling>=1.13",
]

[project]
Expand Down Expand Up @@ -40,9 +40,9 @@ optional-dependencies.docs = [
"sphinx-autodoc-typehints!=1.23.4,>=1.22",
]
optional-dependencies.testing = [
"covdefaults>=2.2.2",
"coverage>=7.1",
"pytest>=7.2.1",
"covdefaults>=2.3",
"coverage>=7.2.1",
"pytest>=7.2.2",
"pytest-cov>=4",
"pytest-timeout>=2.1",
]
Expand Down
2 changes: 1 addition & 1 deletion src/filelock/__init__.py
Expand Up @@ -30,7 +30,7 @@
else:
_FileLock = SoftFileLock
if warnings is not None:
warnings.warn("only soft file lock is available")
warnings.warn("only soft file lock is available", stacklevel=2)

#: Alias for the lock, which should be used for the current platform. On Windows, this is an alias for
# :class:`WindowsFileLock`, on Unix for :class:`UnixFileLock` and otherwise for :class:`SoftFileLock`.
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Expand Up @@ -39,7 +39,7 @@ passenv =
basepython = python3.10
skip_install = true
deps =
pre-commit>=3.0.4
pre-commit>=3.1.1
commands =
pre-commit run --all-files --show-diff-on-failure
python -c 'import pathlib; print("hint: run \{\} install to add checks as pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
Expand All @@ -49,7 +49,7 @@ description = run type check on code base
setenv =
{tty:MYPY_FORCE_COLOR = 1}
deps =
mypy==0.991
mypy==1.1.1
commands =
mypy --strict src/filelock
mypy --strict tests
Expand All @@ -62,9 +62,9 @@ setenv =
COVERAGE_FILE = {toxworkdir}/.coverage
skip_install = true
deps =
covdefaults>=2.2.2
coverage[toml]>=7.1
diff-cover>=7.4
covdefaults>=2.3
coverage[toml]>=7.2.1
diff-cover>=7.5
extras =
parallel_show_output = true
commands =
Expand Down

0 comments on commit fc386bf

Please sign in to comment.