Skip to content

Commit

Permalink
fix(mypy): Adjust configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kmaziarz committed Jul 10, 2023
1 parent 6d8ff12 commit 82a04fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ repos:
- id: mypy
name: "mypy"
files: "syntheseus/"
args: ["--install-types", "--non-interactive"]

# Latest ruff (does linting + more)
- repo: https://github.com/charliermarsh/ruff-pre-commit
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ namespaces = false
line-length = 100
include = '\.pyi?$'

[tool.mypy.overrides]
[tool.mypy]
python_version = 3.9 # pin modern python version
ignore_missing_imports = true

[tool.ruff]
line-length = 100
Expand Down

0 comments on commit 82a04fa

Please sign in to comment.