-
Notifications
You must be signed in to change notification settings - Fork 55
/
pyproject.toml
78 lines (70 loc) · 1.84 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
[build-system]
requires = ["setuptools >= 44", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "miepython"
version = "2.5.5"
description = "Mie scattering of a plane wave by a sphere"
requires-python = ">=3.8"
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { text = "MIT License" }
keywords = [
"mie",
"scattering",
"rainbow",
"droplet",
"backscatter",
"sphere",
"nanoparticle",
"cloud",
"phase function",
"efficiency",
"rayleigh",
"backscattering"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"numpy",
"matplotlib",
"numba"
]
[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311", "py312"]
[tool.pytest.ini_options]
markers = ["notebooks: tests related to Jupyter notebooks"]
[tool.flake8]
max-line-length = 100
ignore = ["W503", "D212", "N802", "N803", "N806", "E501"]
per-file-ignores = [
"__init__.py:F401,F403",
"setup.py:D100",
"tests/test_jit.py:D100,D101,D102",
"tests/test_nojit.py:D100,D101,D102",
"tests/conftest.py:D100,D101,D102,D103"
]
exclude = [
".git",
"__pycache__",
"docs"
]
docstring-convention = "google"
[tool.ruff]
line-length = 150
exclude = ["docs"]
[tool.ruff.lint]
select = ["D", "E", "F", "W"]
ignore = ["D212", "F403"]
per-file-ignores = { "tests/test_jit.py" = ["D102"], "tests/test_nojit.py" = ["D102"] }
pydocstyle.convention = "google"