This repository has been archived by the owner on Nov 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
70 lines (58 loc) · 1.88 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
[build-system]
requires = ["wheel", "setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "autoreduce_qp"
version = "22.0.0.dev38"
description = "ISIS Autoreduction queue processor"
readme = "README.md"
license = { text = "GNU General Public License" }
classifiers = ["Framework :: Django", "Programming Language :: Python :: 3"]
dependencies = [
"autoreduce_db==22.0.0.dev37",
"Django==4.0.6",
"fire==0.4.0",
"plotly==5.3.1",
"kaleido==0.2.1",
"stomp.py",
"docker==5.0.3",
"confluent-kafka==1.9.0",
]
[project.optional-dependencies]
dev = ["parameterized==0.8.1", "pytest==7.1.2"]
[project.urls]
"Repository" = "https://github.com/autoreduction/queue-processor"
"Wiki" = "https://github.com/autoreduction/queue-processor/wiki"
[project.scripts]
autoreduce-qp-start = "autoreduce_qp.queue_processor.confluent_consumer:main"
autoreduce-runner-start = "autoreduce_qp.queue_processor.reduction.runner:main"
[tool.setuptools]
packages = ["autoreduce_qp"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "autoreduce_django.settings"
norecursedirs = [".*", "dist", "CVS", "_darcs", "{arch}", "*.egg"]
python_files = ["tests.py", "test_*.py", "*_tests.py"]
[tool.yapf]
column_limit = 120
based_on_style = "pep8"
[tool.yapfignore]
ignore_patterns = ["setup.py", "**/migrations", "venv/", "venv3/"]
[tool.pylint.MAIN]
load-plugins = ["pylint_django"]
django-settings-module = "autoreduce_django.settings"
extension-pkg-whitelist = ["pydantic"]
disable = [
"R0904", # too-many-public-methods
"R0902", # too-many-instance-attributes
"R0903", # too-few-public-methods
"R1705", # no-else-return
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
]
ignore = [".git", "migrations"]
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylint.DESIGN]
max-args = 8
[tool.pylint.SIMILARITIES]
min-similarity-lines = 10