-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
110 lines (98 loc) · 2.82 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[tool.poetry]
authors = ["Léni Gauffier <[email protected]>"]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Sociology :: History",
]
description = "History of astronomy library"
exclude = ["kanon/**/tests/**/*"]
homepage = "https://dishas.obspm.fr"
keywords = ["astronomy", "history", "arithmetic", "calendars", "ptolemy", "sexagesimal"]
license = "BSD-3-Clause"
name = "kanon"
packages = [
{include = "kanon"},
]
readme = "README.rst"
repository = "https://github.com/legau/kanon"
version = "0.0.0"
[docs.metadata]
edit_on_github = "True"
github_project = "legau/kanon"
long_description = "file: README.rst"
long_description_content_type = "text/x-rst"
[tool.poetry.dependencies]
python = "^3.8"
astropy = "^5.0"
matplotlib = "^3.5.1"
numpy = "^1.22.0"
pandas = "^1.3.5"
requests = "^2.27.1"
scipy = {version = "^1.7.3", python = ">=3.8,<3.11"}
nbformat = {version = "^5.1.3", optional = true}
nbsphinx = {version = "^0.8.8", optional = true}
papermill = {version = "^2.3.3", optional = true}
ipykernel = {version = "^6.6.1", optional = true}
ipython = {version = "^8.0.0", optional = true}
sphinx-astropy = {version = "^1.7.0", optional = true}
sphinx-rtd-theme = {version = "^1.0.0", optional = true}
[tool.poetry.dev-dependencies]
black = "*"
flake8 = "*"
isort = "*"
mypy = "*"
pre-commit = "*"
pytest-astropy = "^0.10.0"
requests-mock = "^1.9.3"
tox = "^3.24.5"
types-requests = "^2.27.11"
[tool.poetry.extras]
docs = ["sphinx-astropy", "nbsphinx", "ipython", "sphinx-rtd-theme", "ipykernel", "papermill"]
notebook = ["ipython", "ipykernel", "papermill", "nbformat"]
[tool.poetry-dynamic-versioning]
enable = true
[build-system]
build-backend = "poetry_dynamic_versioning.backend"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
[tool.pytest.ini_options]
addopts = "-p \"no:hypothesispytest\""
astropy_header = true
doctest_plus = "enabled"
filterwarnings = ["ignore:numpy.ndarray size changed:RuntimeWarning"]
testpaths = ["kanon", "docs", "examples"]
text_file_format = "rst"
[tool.coverage.run]
omit = ["**/tests/*", "*/kanon/version*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"except ImportError",
"raise AssertionError",
"raise NotImplementedError",
"pragma: py{ignore_python_version}",
'\.\.\.$',
]
[tool.coverage.paths]
source = [
"kanon",
"*/.tox/*/lib/python*/site-packages/kanon",
"*/kanon",
]
[tool.mypy]
files = ["kanon"]
[[tool.mypy.overrides]]
module = [
'astropy.*',
'requests_mock.*',
'pandas.*',
'setuptools_scm.*',
'scipy.*',
'matplotlib.*',
]
ignore_missing_imports = true