Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump deps and tools #197

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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