Upgrade dev dependencies.

Also, add check-manifest pre-commit hook.
This commit is contained in:
Joshua Bronson 2022-11-04 22:04:08 -04:00
parent efe0bbccf6
commit 522c9b6924
7 changed files with 18 additions and 32 deletions

1
.gitignore vendored
View File

@ -10,7 +10,6 @@
.tox
.devenv
.venv
.vscode/settings.json
__pycache__
_build
bidict.egg-info

View File

@ -40,15 +40,19 @@ repos:
- id: flake8
- repo: https://github.com/dosisod/refurb
rev: v1.4.0
rev: v1.5.0
hooks:
- id: refurb
args: ["--config-file", ".refurb.toml"]
- repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.278
hooks:
- id: pyright
- id: pyright
- repo: https://github.com/mgedmin/check-manifest
rev: "0.48"
hooks:
- id: check-manifest
# https://pre-commit.com/#repository-local-hooks
- repo: local

View File

@ -1,6 +0,0 @@
[tool.refurb]
ignore = [
# Don't pass an argument if it's the same as the default value.
# Can remove if https://github.com/dosisod/refurb/issues/30 is fixed:
120,
]

View File

@ -1,22 +1,25 @@
# Tip: pip install check-manifest && check-manifest -uv
# Tip: pre-commit run check-manifest
include LICENSE
include *.py
include *.md
include *.rst
include *.sh
include *.json
include *.yaml
include *.yml
include *.ini
include .coveragerc
include .flake8
include .editorconfig
include .pre-commit-config.yaml
include .pylintrc
include mypy.ini
include .vscode/tasks.json
include pyproject.toml
include pytest.ini
include tox.ini
include docs/_static/custom.css
include docs/_static/bidict-types-diagram.dot
include bidict/py.typed
recursive-include .devcontainer *
recursive-include assets *.*
recursive-include docs/_static *.*
recursive-include docs *.py

View File

@ -20,17 +20,19 @@ click==8.1.3
# pip-tools
pep517==0.13.0
# via build
pip-compile-multi==2.4.6
pip-compile-multi==2.5.0
# via -r requirements/dev.in
pip-tools==6.9.0
# via pip-compile-multi
six==1.16.0
# via tox
tomli==2.0.1
# via check-manifest
toposort==1.7
# via pip-compile-multi
tox==3.27.0
# via -r requirements/dev.in
wheel==0.37.1
wheel==0.38.1
# via pip-tools
# The following packages are considered to be unsafe in a requirements file:

View File

@ -17,10 +17,6 @@ dill==0.3.6
# via pylint
distlib==0.3.6
# via virtualenv
exceptiongroup==1.0.0
# via
# hypothesis
# pytest
filelock==3.8.0
# via virtualenv
hypothesis==6.56.4
@ -59,10 +55,6 @@ sortedcontainers==2.4.0
# via hypothesis
toml==0.10.2
# via pre-commit
tomli==2.0.1
# via
# pylint
# pytest
tomlkit==0.11.6
# via pylint
virtualenv==20.16.6

View File

@ -14,10 +14,6 @@ coverage[toml]==6.5.0
# via
# -r requirements/tests.in
# pytest-cov
exceptiongroup==1.0.0
# via
# hypothesis
# pytest
hypothesis==6.56.4
# via -r requirements/tests.in
icdiff==2.0.5
@ -55,7 +51,3 @@ sortedcontainers==2.4.0
# -r requirements/tests.in
# hypothesis
# sortedcollections
tomli==2.0.1
# via
# coverage
# pytest