Skip to content

Commit

Permalink
Fix mypy pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Feb 19, 2024
1 parent bc4f3a3 commit bd227b8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ repos:
rev: v1.8.0
hooks:
- id: mypy
args: [--config-file, pyproject.toml]
additional_dependencies:
- pytest
- repo: https://github.com/pre-commit/mirrors-prettier
Expand Down
10 changes: 0 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,11 @@ run = {branch = true, parallel = true, source = [
]}
paths.source = [
"src",
".tox*/*/lib/python*/site-packages",
]

[tool.mypy]
explicit_package_bases = true
disallow_untyped_calls = false
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = [
"hipct_reg.tests"
]
strict = true
warn_return_any = false

[tool.pytest.ini_options]
addopts = """
--color=yes
Expand Down
Empty file added src/hipct_reg/tests/__init__.py
Empty file.
File renamed without changes.

0 comments on commit bd227b8

Please sign in to comment.