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

Update most test/lint dependencies #234

Merged
merged 2 commits into from
Jul 1, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 # must match pyproject.toml
rev: v4.6.0 # must match pyproject.toml
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -12,25 +12,25 @@ repos:
- id: name-tests-test
args: [--pytest-test-first]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.5 # must match pyproject.toml
rev: v0.5.0 # must match pyproject.toml
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.16.0 # must match pyproject.toml
rev: 1.18.0 # must match pyproject.toml
hooks:
- id: blacken-docs
additional_dependencies: [black==24.3.0]
additional_dependencies: [black==24.4.2]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
- repo: https://github.com/alan-turing-institute/CleverCSV-pre-commit
rev: v0.8.2
hooks:
- id: clevercsv-standardize
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
rev: v0.41.0
hooks:
- id: markdownlint-fix
args: ["--ignore", "stats_website/.snippets"]
Expand Down
22 changes: 11 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,30 +55,30 @@ rich = ["rich", "rich-argparse>=1"]
# so the CLI docs generated from --help are consistent
docs = [
"typeshed-stats[rich]",
"MarkDown==3.5.2",
"mkdocs==1.5.3",
"MarkDown==3.6",
"mkdocs==1.6.0",
"mkdocs-macros-plugin==1.0.5",
"mkdocs-material==9.5.16",
"mkdocstrings==0.24.1",
"mkdocstrings-python==1.9.0",
"mkdocs-material==9.5.27",
"mkdocstrings==0.25.1",
"mkdocstrings-python==1.10.5",
]
pytest = [
"typeshed-stats[rich]",
"beautifulsoup4>=4,<5",
"covdefaults==2.3.0",
"coverage==7.4.4",
"coverage==7.5.4",
"Markdown>=3,<4",
"pytest==8.1.1",
"pytest==8.2.2",
"pytest-antilru==1.1.1",
"pytest-asyncio==0.23.6",
"pytest-asyncio==0.23.7",
"pytest-dependency==0.6.0",
"pytest-mock==3.14.0",
"pytest-subtests==0.12.1",
]
typecheck = [
"typeshed-stats[rich,docs,pytest]",
"mypy==1.9.0",
"types-beautifulsoup4==4.12.0.20240229",
"mypy==1.10.1",
"types-beautifulsoup4==4.12.0.20240511",
"types-Markdown==3.6.0.20240316",
]
# All of these must match .pre-commit-config.yaml
Expand All @@ -87,7 +87,7 @@ typecheck = [
# That's deliberate (it's not necessary to run them all locally).
# This file just lists the ones which it's convenient to have around locally.
misc-lint = [
"ruff==0.3.5",
"ruff==0.5.0",
]
dev = ["typeshed-stats[rich,docs,typecheck,pytest,misc-lint]"]

Expand Down