-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
86 lines (75 loc) · 1.8 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[build-system]
requires = [
"setuptools>=69",
"setuptools_scm>=8",
]
build-backend = "setuptools.build_meta"
[project]
name = "sharrow"
requires-python = ">=3.9"
dynamic = ["version"]
dependencies = [
"numpy >= 1.19",
"pandas >= 1.2",
"pyarrow",
"xarray",
"numba >= 0.57",
"numexpr",
"filelock",
"dask",
"networkx",
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
description = "numba for ActivitySim-style spec files"
readme = "README.md"
keywords = ["activitysim", "discrete choice"]
[project.urls]
Documentation = "https://activitysim.github.io/sharrow/"
Repository = "https://github.com/activitysim/sharrow"
[tool.setuptools]
packages = ["sharrow", "sharrow.utils"]
include-package-data = true
[tool.setuptools.package-data]
sharrow = ["*"]
[tool.setuptools_scm]
fallback_version = "1999"
write_to = "sharrow/_version.py"
[tool.ruff]
fix = true
line-length = 88
target-version = "py39"
extend-include = ["*.ipynb"]
[tool.ruff.lint]
select = [
"F", # Pyflakes
"E", # Pycodestyle Errors
"W", # Pycodestyle Warnings
"I", # isort
"UP", # pyupgrade
"D", # pydocstyle
"B", # flake8-bugbear
]
ignore = ["B905", "D1"]
per-file-ignores = { "*.ipynb" = [
"E402", # allow imports to appear anywhere in Jupyter Notebooks
"E501", # allow long lines in Jupyter Notebooks
] }
[tool.ruff.lint.isort]
known-first-party = ["sharrow"]
[tool.ruff.lint.pycodestyle]
max-line-length = 120
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-v --nbmake --disable-warnings"
testpaths = [
"sharrow/tests",
"docs",
]