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

feat(build): pyproject.toml has been updated to be able to use Poetry 2.x and/or uv #323

Closed
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
47 changes: 13 additions & 34 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
rev: v5.0.0
hooks:
- id: check-ast
- id: check-executables-have-shebangs
Expand All @@ -12,7 +12,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.13.0
rev: v9.20.0
hooks:
- id: commitlint
stages: [commit-msg]
Expand All @@ -26,41 +26,22 @@ repos:
args: [--prose-wrap=always]

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
rev: v0.17.1
hooks:
- id: markdownlint-cli2

- repo: local
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.8.6
hooks:
- id: black
name: black
language: system
entry: poetry run black
require_serial: true
types: [python]

- id: flake8
name: flake8
language: system
entry: poetry run flake8 --config .flake8 --statistics
require_serial: true
types: [python]

- id: isort
name: isort
language: system
entry: poetry run isort
require_serial: true
types: [python]
- id: ruff-format
- id: ruff
args: [ --fix, --unsafe-fixes ]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
hooks:
- id: mypy
name: mypy
language: system
entry: poetry run dmypy run --timeout 3600 src
require_serial: true
pass_filenames: false
files: ^src/.+$
exclude: ^tests/.+$
args: [ --no-strict-optional, --ignore-missing-imports ]

exclude: |
(?x)^(
Expand All @@ -71,7 +52,5 @@ ci:
autofix_commit_msg: "refactor(pre-commit): Apply hook auto fixes"
autoupdate_commit_msg: "build(pre-commit): Apply hook rev updates"
skip:
- black
- flake8
- isort
- ruff
- mypy
Loading
Loading