-
Notifications
You must be signed in to change notification settings - Fork 46
/
pyproject.toml
47 lines (43 loc) · 1.5 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
# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC
# SPDX-License-Identifier: Apache-2.0
# [build-system]
# requires = ["setuptools>=51.2", "wheel>=0.36.2", "setuptools_scm>=6.3.1"]
# build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "version.py"
# [tool.pytest.ini_options]
# minversion = "6.0"
# # -n is used by pytest-xdist. "pytest: error: unrecognized arguments: -n" means that the plugin is missing. Install the development dependencies
# # pytest-xdist is not _mandatory_ for the tests to work, but it is recommended
# addopts = "-l -v --durations=30 --durations-min=0.05 --strict-config --strict-markers --showlocals -n 4"
# log_level = "debug"
# testpaths = "src/decisionengine"
# required_plugins = ["pytest-timeout>=1.4.2", "pytest-postgresql >= 3.0.0"]
# timeout = 90
# flake8-max-line-length = "120"
# flake8-ignore = "E501 E303 E302 E261 E265 E203 W503 W504"
# flake8-show-source = "True"
# flake8-statistics = "True"
[tool.black]
line-length = 120
target-version = ['py36']
[tool.isort]
src_paths = ["doc", "src"]
py_version = 36
profile = "black"
line_length = 120
combine_star = "True"
float_to_top = "True"
order_by_type = "True"
dedup_headings = "True"
known_first_party = ["glideinwms"]
lines_between_types = 1
force_alphabetical_sort_within_sections = "True"
[tool.ruff]
line-length = 120
# indent-width = 4
target-version = "py37"
# Gives an error w/ format
extend-exclude = ["creation/lib/factory_defaults.xml"]
[tool.ruff.format]
#exclude = ["creation/lib/factory_defaults.xml"]