-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
104 lines (94 loc) · 2.95 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
[build-system]
requires = [
"setuptools>=65",
"wheel>=0.37.0",
"setuptools_scm>=6.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "coffea-casa"
dynamic = ["version", "dependencies", "readme"]
requires-python = ">=3.8"
license = {file = "LICENSE"}
description = "Wrappers for Dask clusters to be used from coffea-casa AF"
authors = [
{name = "The Coffea-casa Development Team", email = "coffea-casa-dev@cern.ch"},
]
classifiers =[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"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"
]
[project.urls]
Homepage = "https://github.com/CoffeaTeam/coffea-casa"
Documentation = "https://coffea-casa.readthedocs.io/en/latest/"
Repository = "https://github.com/CoffeaTeam/coffea-casa/issues"
"Bug Tracker" = "https://github.com/CoffeaTeam/coffea-casa/issues"
[tool.setuptools.packages.find]
where = ["."] # list of folders that contain the packages (["."] by default)
include = ["coffea_casa"] # package names should match these glob patterns (["*"] by default)
exclude = [] # exclude packages matching these glob patterns (empty by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
[tool.setuptools_scm]
fallback_version = "0.0.0"
write_to = "coffea_casa/_version.py"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
readme = {file = ["README.md"], content-type = "text/markdown"}
[tool.flake8]
ignore = ["E203", "E266", "E501", "W503"]
max-line-length = 88
max-complexity = 18
select = ["B","C","E","F","W","T4","B9"]
[tool.black]
target-version = ["py38", "py39", "py310","py311","py312"]
required-version = "23.10.1"
exclude = '''
/(
coffea_casa/_version.py
\.git
| .eggs
| build
)/
'''
[tool.mypy]
files = "coffea_casa"
pretty = true
strict = true
strict_equality = true
python_version = "3.10"
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
check_untyped_defs = true
disallow_any_generics = true
disallow_subclassing_any = true
warn_return_any = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
warn_unreachable = true
show_error_codes = true
show_error_context = true
no_implicit_optional = true
ignore_missing_imports = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",]
log_cli_level = "INFO"
xfail_strict = true
filterwarnings = ['error']