Skip to content

Commit 5b58bba

Browse files
author
Juan Orduz
committed
move mypy config
1 parent 8b536b9 commit 5b58bba

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ ci:
1212

1313
repos:
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.8.3
15+
rev: v0.8.4
1616
hooks:
1717
- id: ruff
1818
args: ["--fix", "--output-format=full"]
1919
- id: ruff-format
2020
args: ["--line-length=100"]
2121
- repo: https://github.com/pre-commit/mirrors-mypy
22-
rev: v1.13.0
22+
rev: v1.14.0
2323
hooks:
2424
- id: mypy
2525
args: [--ignore-missing-imports]

mypy.ini

Lines changed: 0 additions & 15 deletions
This file was deleted.

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,20 @@ exclude_lines = [
3333
isort = 1
3434
black = 1
3535
pyupgrade = 1
36+
37+
38+
[tool.mypy]
39+
files = "pymc_bart/*.py"
40+
plugins = "numpy.typing.mypy_plugin"
41+
42+
[tool.mypy-matplotlib]
43+
ignore_missing_imports = true
44+
45+
[tool.mypy-numba]
46+
ignore_missing_imports = true
47+
48+
[tool.mypy-pymc]
49+
ignore_missing_imports = true
50+
51+
[tool.mypy-scipy]
52+
ignore_missing_imports = true

0 commit comments

Comments
 (0)