-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
116 lines (102 loc) · 2.68 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "fileformats"
description = "Classes for representing different file formats in Python classes for use in type hinting in data workflows"
readme = "README.md"
requires-python = ">=3.8"
dependencies = ["typing_extensions >=4.6.3; python_version < '3.11'"]
license = { file = "LICENSE" }
authors = [{ name = "Thomas G. Close", email = "[email protected]" }]
maintainers = [{ name = "Thomas G. Close", email = "[email protected]" }]
keywords = [
"file-formats",
"data",
"filetype",
"magic numbers",
"file extension",
"MIME",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"black",
"pre-commit",
"codespell",
"flake8",
"flake8-pyproject",
"fileformats[test]",
"mypy >=1.5.1",
"pydata-sphinx-theme >=0.13",
"pydicom", # for typing
]
test = [
"mypy >=1.5.1",
"pytest >=6.2.5",
"pytest-env>=0.6.2",
"pytest-cov>=2.12.1",
"pydra >=0.23.0a0",
]
docs = [
"packaging",
"docutils>=0.10",
"mock>1.0",
"sphinx >=2.1.2",
"sphinx-argparse>=0.2.0",
"sphinx-click>=3.1",
"furo>=2022.2.14.1",
"numpydoc>=0.6.0",
]
[project.urls]
repository = "https://github.com/ArcanaFramework/fileformats"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "fileformats/core/_version.py"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
packages = ["fileformats"]
exclude = ["tests"]
include = ["./fileformats"]
[tool.black]
target-version = ['py38']
exclude = "fileformats/core/_version.py"
[tool.mypy]
python_version = "3.8"
ignore_missing_imports = true
strict = true
namespace_packages = true
explicit_package_bases = true
exclude = [
"tests",
"scripts",
"docs",
"build",
"dist",
"fileformats/core/_version.py",
]
[tool.codespell]
ignore-words = ".codespell-ignorewords"
[tool.flake8]
doctests = true
per-file-ignores = ["__init__.py:F401"]
max-line-length = 88
select = "C,E,F,W,B,B950"
extend-ignore = ['E203', 'E501', 'E129', 'W503']