-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (64 loc) · 1.93 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
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
[tool.setuptools_scm]
write_to = "strato/version.py"
[project]
name = 'stratocumulus'
description = 'File backend component of Cumulus'
readme = 'README.rst'
authors = [
{ name = "Yiming Yang, Joshua Gould, Rimte Rocher, Bo Li", email = "[email protected]" },
]
urls.Source = 'https://github.com/lilab-bcb/stratocumulus'
urls.Documentation = "https://github.com/lilab-bcb/stratocumulus"
license = { file = 'LICENSE' }
dynamic = ['version']
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
'Operating System :: Microsoft :: Windows',
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Build Tools",
]
requires-python = '>=3'
dependencies = [
's3fs',
'importlib_metadata >= 0.7; python_version < "3.8"',
]
[project.optional-dependencies]
test = ['pytest']
[tool.black]
line-length = 100
include = '\.pyi?$'
[tool.docformatter]
include = '\.pyi?$'
[tool.isort]
profile = 'black'
length_sort_straight = true
line_length = 100
lines_after_imports = 2
[tool.flake8]
max-line-length = 100
include = '\.pyi?$'
ignore = [
'E731', # Do not assign a lambda expression, use a def
'E203', # whitespace before ':'
'W503', # line break before binary operator ==
'E501', # Line too long (82 > 79 characters)
'E722', # Do not use bare except, specify exception instead
]
[tool.pytest.ini_options]
python_files = 'test_*.py'
testpaths = ["strato"]
xfail_strict = true
log_format = '%(asctime)s %(levelname)s %(message)s'
log_date_format = '%Y-%m-%d %H:%M:%S'
log_cli = true
log_cli_level = 'INFO'
[project.scripts]
strato = 'strato.__main__:main'