-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
90 lines (74 loc) · 1.91 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
[project]
name = "omf"
authors = [{ name = "Global Mining Guidelines Group", email = "[email protected]" }]
description = "API Library for Open Mining Format"
keywords = ["mining", "data", "interchange"]
readme = "README.rst"
requires-python = ">=3.7"
license = { file = "LICENSE" }
dynamic = ["version"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Natural Language :: English",
]
dependencies = [
"numpy>=1.20",
"properties==0.6.1",
"pypng",
"vectormath>=0.2.0",
]
[project.urls]
homepage = "https://gmggroup.org"
repository = "https://github.com/gmggroup/omf"
documentation = "https://readthedocs.org/projects/omf"
[project.optional-dependencies]
dev = [
"jupyter",
"matplotlib",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
]
lint = [
"black",
"pylint",
]
test = [
"mock",
"nose-py3",
"pytest==7.2.1",
"pytest-cov==4.0.0",
"pytest-rst==0.1.5",
]
[build-system]
requires = ["flit_core>=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.black]
line-length = 120
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
[tool.pylint.'CLASSES']
exclude-protected = "_asdict,_fields,_replace,_source,_make,_props,_backend"
[tool.pylint.'FORMAT']
max-line-length = 120
[tool.pylint.'MESSAGES CONTROL']
disable = "consider-using-f-string"
[tool.pylint.'SIMILARITIES']
min-similarity-lines = 20
ignore-comments = "yes"
ignore-docstrings = "yes"
ignore-imports = "yes"
[tool.pylint.'TYPECHECK']
generated-members = "_backend,array"
[tool.pytest.ini_options]
minversion = "7.2"
required_plugins = "pytest-rst"
testpaths = ["docs", "tests"]