Skip to content

Commit

Permalink
MAINT: autoupdate pre-commit hooks and apply
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Jan 12, 2024
1 parent 78c26de commit c9ebe6f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
paths:
- .constraints/py3.*.txt
- .pre-commit-config.yaml
- setup.cfg
schedule:
- cron: "0 3 7 */2 *"
workflow_dispatch:
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ repos:
types_or:
- jupyter

- repo: https://github.com/ComPWA/repo-maintenance
rev: 0.1.13a6
- repo: https://github.com/ComPWA/policy
rev: 0.2.0
hooks:
- id: check-dev-files
args:
Expand Down Expand Up @@ -113,7 +113,7 @@ repos:
- id: pyright

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11
rev: v0.1.13
hooks:
- id: ruff
args: [--fix]
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,14 @@ reportUnusedVariable = true
typeCheckingMode = "strict"

[tool.pytest.ini_options]
addopts = """
--color=yes
--doctest-continue-on-failure
--doctest-modules
--durations=3
--ignore=docs/conf.py
-m "not slow"
"""
addopts = [
"--color=yes",
"--doctest-continue-on-failure",
"--doctest-modules",
"--durations=3",
"--ignore=docs/conf.py",
"-m='not slow'",
]
filterwarnings = [
"error",
"ignore:.*Consider switching from .* to .*:DeprecationWarning",
Expand Down

0 comments on commit c9ebe6f

Please sign in to comment.