-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (59 loc) · 1.22 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
[tool.poetry]
name = "nirwl_metacal"
version = "0.1.0"
description = ""
authors = ["arunkannawadi <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.8,<3.11"
photutils = "^1.4.0"
fire = "^0.4.0"
GalSim = "^2.3.4"
ngmix = {git = "https://github.com/arunkannawadi/ngmix"}
PyYAML = "^6.0"
numba = "^0.55.2"
scipy = "^1.8.1"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
black = "^22.3.0"
pre-commit = "^2.19.0"
mypy = "^0.961"
flake8 = "^4.0.1"
pytest-cov = "^3.0.0"
# This config is duplicate of .flake8
# This is here for when we move to flake8-pyproject
[tool.flake8]
max-line-length = 110
max-doc-length = 79
[tool.black]
line-length = 110
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git* # root of the project
| \.mypy_cache
| \.tox
| \.venv
| \.vscode
)/
)
'''
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
"astropy.*",
"fire",
"galsim",
"ngmix",
"photutils",
"yaml",
]
ignore_missing_imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"