-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (56 loc) · 1.29 KB
/
Copy pathpyproject.toml
File metadata and controls
64 lines (56 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --cov=. --cov-report=term-missing"
python_files = ["test_*.py"]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::duckdb_engine.DuckDBEngineWarning",
]
[tool.coverage.run]
omit = ["*/tests/*", "*/config-3.py", "*/config.py"]
[tool.pylint]
init-hook = "import os, sys; sys.path.append(os.getcwd())"
max-line-length = 100
[tool.pylint."MESSAGES CONTROL"]
enable = "all"
disable = [
"locally-disabled",
"suppressed-message",
"duplicate-code",
"use-symbolic-message-instead",
]
[tool.pylint.basic]
good-names = ["i", "j", "k", "x", "y", "z"]
[tool.black]
line-length = 100
target-version = ['py312']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 100
[tool.mypy]
exclude = '^extras/|^temp/' # local folders I want to skip type checking
ignore_missing_imports = true
explicit_package_bases = true
strict = true
warn_unused_ignores = false # Disable warnings for unused "type: ignore"
warn_return_any = true
disable_error_code = [
"type-arg", # Missing type parameters for generic type 'ndarray'
]
show_error_codes = true
plugins = ["pydantic.mypy"]