forked from AI-READI/pyfairdatatools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
146 lines (102 loc) · 2.81 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[tool.poetry]
name = "pyfairdatatools"
version = "1.0.2"
description = "Tools for AI-READI"
packages = [{ include = "pyfairdatatools" }]
license = "MIT"
authors = ["FAIR Data Innovations Hub <[email protected]>"]
readme = "README.md"
homepage = "https://pypi.org/project/pyfairdatatools"
documentation = "https://pyfairdatatools.readthedocs.io"
repository = "https://github.com/AI-READI/pyfairdatatools"
keywords = []
classifiers = [
# TODO: update this list to match your application: https://pypi.org/pypi?%3Aaction=list_classifiers
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
]
[tool.poetry.dependencies]
python = "^3.8"
urllib3 = "<2.0"
# TODO: Remove these and add your library's requirements
click = "*"
minilog = "*"
jsonschema = "^4.17.3"
dicttoxml = "^1.7.16"
types-requests = "^2.30.0.0"
pymdown-extensions = "^10.0.1"
validators = "^0.20.0"
art = "^6.0"
[tool.poetry.dev-dependencies]
# Formatters
black = "^22.1"
tomli = "*" # missing 'black' dependency
isort = "^5.10"
# Linters
mypy = "^1.0"
pydocstyle = "^6.1"
pylint = "~2.15"
wrapt = "*" # missing 'pylint' dependency
# Testing
pytest = "^7.1"
pytest-describe = "^2.0"
pytest-expecter = "^3.0"
pytest-random = "*"
pytest-cov = "^3.0"
freezegun = "*"
# Reports
coveragespace = "^6.0"
# Documentation
mkdocs = "~1.3"
pygments = "^2.11.1"
# Tooling
pyinstaller = "*"
sniffer = "*"
MacFSEvents = { version = "*", platform = "darwin" }
pync = { version = "*", platform = "darwin" }
ipython = "^7.12.0"
[tool.poetry.scripts]
pyfairdatatools = "pyfairdatatools.cli:main"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.20.0"
jupyter = "^1.0.0"
[tool.poe.tasks]
docs = "mkdocs serve"
format_with_isort = "isort pyfairdatatools tests notebooks"
format_with_black = "black pyfairdatatools tests notebooks"
format = ["format_with_isort", "format_with_black"]
typecheck = "mypy pyfairdatatools tests"
pylint = "pylint pyfairdatatools tests --rcfile=.pylint.ini"
precommit = ["format", "typecheck", "pylint"]
test = "pytest -rx"
jupyter = "jupyter notebook"
[tool.black]
quiet = true
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true
cache_dir = ".cache/mypy/"
[tool.pytest.ini_options]
addopts = """
--strict-markers
-r sxX
--show-capture=log
--cov-report=html
--cov-report=term-missing:skip-covered
--no-cov-on-fail
"""
cache_dir = ".cache/pytest/"
markers = []
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"