Skip to content

Commit

Permalink
Fix exports; update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nx10 committed Nov 23, 2024
1 parent c30bec4 commit da04586
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ repos:
- id: poetry-check

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
rev: v0.8.0
hooks:
- id: ruff
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.13.0
hooks:
- id: mypy
args: [--ignore-missing-imports]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.13.0
rev: v2.14.0
hooks:
- id: pretty-format-yaml
args:
Expand All @@ -32,7 +32,7 @@ repos:
- --no-sort

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ target-version = "py311"

[tool.ruff.lint]
select = ["ANN", "D", "E", "F", "I", "UP"]
ignore = [
"ANN101", # self should not be annotated.
"ANN102" # cls should not be annotated.
]
ignore = []
fixable = ["ALL"]
unfixable = []

Expand Down
3 changes: 3 additions & 0 deletions src/styxdefs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
""".. include:: ../../README.md""" # noqa: D415

from .dry_runner import (
DryRunner,
)
from .global_state import (
get_global_runner,
set_global_runner,
Expand Down

0 comments on commit da04586

Please sign in to comment.