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 .tox
.devenv .devenv
.venv .venv
.vscode/settings.json
__pycache__ __pycache__
_build _build
bidict.egg-info bidict.egg-info

View File

@ -40,15 +40,19 @@ repos:
- id: flake8 - id: flake8
- repo: https://github.com/dosisod/refurb - repo: https://github.com/dosisod/refurb
rev: v1.4.0 rev: v1.5.0
hooks: hooks:
- id: refurb - id: refurb
args: ["--config-file", ".refurb.toml"]
- repo: https://github.com/RobertCraigie/pyright-python - repo: https://github.com/RobertCraigie/pyright-python
rev: v1.1.278 rev: v1.1.278
hooks: 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 # https://pre-commit.com/#repository-local-hooks
- repo: local - 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 LICENSE
include *.py include *.py
include *.md
include *.rst include *.rst
include *.sh include *.sh
include *.json
include *.yaml include *.yaml
include *.yml include *.yml
include *.ini
include .coveragerc include .coveragerc
include .flake8
include .editorconfig include .editorconfig
include .pre-commit-config.yaml include .pre-commit-config.yaml
include .pylintrc include .pylintrc
include mypy.ini include .vscode/tasks.json
include pyproject.toml include pyproject.toml
include pytest.ini
include tox.ini
include docs/_static/custom.css include docs/_static/custom.css
include docs/_static/bidict-types-diagram.dot include docs/_static/bidict-types-diagram.dot
include bidict/py.typed include bidict/py.typed
recursive-include .devcontainer *
recursive-include assets *.* recursive-include assets *.*
recursive-include docs/_static *.* recursive-include docs/_static *.*
recursive-include docs *.py recursive-include docs *.py

View File

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

View File

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

View File

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