-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (50 loc) · 1.47 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
[project]
name = "stjames"
version = "0.0.46"
description = "standardized JSON atom/molecule encoding scheme"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "Corin Wagen", email = "corin@rowansci.com" },
]
dependencies = [
"pydantic>=2.4",
"numpy",
]
[build-system]
# maybe will want to move away from setuptools eventually
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project.urls]
"Homepage" = "https://github.com/rowansci/stjames"
"Bug Tracker" = "https://github.com/rowansci/stjames/issues"
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = ["stjames", "stjames.*"] # package names should match these glob patterns (["*"] by default)
exclude = [] # exclude packages matching these glob patterns (empty by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.setuptools.package-data]
"*" = ["*.json"]
[tool.ruff]
line-length = 160
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"W", # pycodestyle warnings
]
ignore = ["E741"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.pytest.ini_options]
testpaths = ["stjames", "tests"]
addopts = "--doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE"
markers = [
"smoke: sanity tests to reveal simple failures"
]
[tool.mypy]
plugins = ["pydantic.mypy"]
strict = true
warn_unused_ignores = true