-
Notifications
You must be signed in to change notification settings - Fork 100
/
Copy pathpyproject.toml
49 lines (42 loc) · 1.15 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=42,<64",
"wheel",
"setuptools_scm[toml]>=7.0",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
fallback_version = "999"
write_to = "activitysim/_generated_version.py"
version_scheme = "python-simplified-semver"
[tool.isort]
profile = "black"
skip_gitignore = true
float_to_top = true
default_section = "THIRDPARTY"
known_first_party = "activitysim"
add_imports = "from __future__ import annotations"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-v --nbmake --disable-warnings --ignore=activitysim/estimation/test"
testpaths = [
"activitysim/abm/test",
"activitysim/cli/test",
"activitysim/core/test",
"activitysim/abm/models/util/test",
]
filterwarnings = [
"ignore::tables.NaturalNameWarning",
]
log_cli = true
tb = "native"
[tool.ruff]
select = ["E", "F", "B", "UP", "TID"]
line-length = 140
[tool.ruff.isort]
known-first-party = ["activitysim"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.pydocstyle]
convention = "numpy"
[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"] # Ignore import violations in all `__init__.py` files