-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
93 lines (85 loc) · 1.99 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
87
88
89
90
91
92
93
[build-system]
requires = ["flit_core >=3.5,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "flows_finder"
authors = [{name = "Emir Karamehmetoglu", email = "emir.k@phys.au.dk"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = ["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)"]
dynamic = ["version", "description"]
requires-python = '>=3.10'
dependencies = [
"requests",
"tendrils",
"astropy>=2.3.1",
"numpy>=1.19.1",
"regions",
"astroquery>=0.4.5",
"matplotlib"]
[project.urls]
Home = "https://github.com/SNflows/flows-tools/"
[project.scripts]
get_brightest = "flows_finder:get_brightest.main"
make_fc = "flows_finder:make_fc.main"
[project.optional-dependencies]
test = [
"pytest >= 7.1.1",
"pytest-cov >= 4.0.0",
"mypy >= 0.991",
"flake8 >= 5.0.0",
"black >= 22.10.0",
]
[tool.pytest.ini_options]
minversion = "7.1.1"
addopts = "-rA -q -p no:warnings"
testpaths = ["flows_finder/tests.py"]
markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]
[tool.black]
line-length = 120
target-version = ["py310"]
preview = true
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.idea
| \.pytest_cache
| \.mypy_cache
| \.vscode
| \.venv
| Notebooks
| build
| dist
| docs
| README.md
| LICENSE
)/
)
'''
[tool.mypy]
exclude = 'mpl_toolkits'
implicit_reexport = true
[[tool.mypy.overrides]]
module = [
'astroquery.logger',
'astropy.*',
'mpl_toolkits.*',
'erfa.*',
'matplotlib.colors.*',
'matplotlib.ticker.*',
'matplotlib.transforms.*',
'matplotlib._mathtext.*',
'matplotlib.layout_engine.*',
'matplotlib.text.*',
'matplotlib.textpath.*',
'matplotlib.image.*',
'matplotlib.patches.*',
'matplotlib.offsetbox.*',
'matplotlib.legend.*',
]
ignore_missing_imports = true
ignore_errors = true
allow_untyped_globals = true
implicit_reexport = true