Skip to content

Commit ddbcd3e

Browse files
committed
Update configuration files
1 parent d2c3fa7 commit ddbcd3e

File tree

4 files changed

+37
-5
lines changed

4 files changed

+37
-5
lines changed

Diff for: pyproject.toml

+18-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
[build-system]
22
requires = ["setuptools", "cython", "numpy"]
3+
build-backend = "setuptools.build_meta"
34

4-
# Idk what build-backend does
5+
[tool.pytest.ini_options]
6+
testpaths = [
7+
"tests",
8+
]
59

6-
build-backend = "setuptools.build_meta"
10+
[tool.mypy]
11+
mypy_path = "src"
12+
check_untyped_defs = true
13+
disallow_any_generics = true
14+
ignore_missing_imports = true
15+
no_implicit_optional = true
16+
show_error_codes = true
17+
strict_equality = true
18+
warn_redundant_casts = true
19+
warn_return_any = true
20+
warn_unreachable = true
21+
warn_unused_configs = true
22+
no_implicit_reexport = true

Diff for: requirements_dev.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
flake8==6.0.0
2+
mypy==0.991
3+
autopep8==2.0.0

Diff for: setup.cfg

+16-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ classifiers =
1010
Programming Language :: Python :: 3
1111

1212
[options]
13-
packages = find:
13+
packages = :find
1414
package_dir = =src
1515
python_requires = >=3.9
1616
install_requires =
@@ -19,9 +19,22 @@ install_requires =
1919
matplotlib>=3.5
2020
Cython>=0.29.28
2121
spiceypy>=5.0.0
22-
setup_requires = cython>=0.29.26
22+
setup_requires =
23+
cython>=0.29.26
2324
zip_safe = False
2425

2526
[options.packages.find]
26-
exclude = dev*
2727
where = src
28+
29+
[options.extras.require]
30+
testing =
31+
pytest>=7.2
32+
mypy>=0.991
33+
flake8>=6.0
34+
autopep8>=2.0
35+
36+
[options.package_data]
37+
hplop = py.typed
38+
39+
[flake8]
40+
max-line-length = 160

Diff for: src/hplop/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)