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 0
/
Copy pathpyproject.toml
63 lines (53 loc) · 1.94 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
[build-system]
requires = ["wheel", "setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "autoreduce_scripts"
version = "22.0.0.dev44"
description = "ISIS Autoreduce helper scripts"
readme = "README.md"
license = { text = "GNU General Public License" }
classifiers = ["Framework :: Django", "Programming Language :: Python :: 3"]
dependencies = [
"autoreduce_db==22.0.0.dev37",
"autoreduce_utils==22.0.0.dev23",
"Django", # will be matched with requirement in autoreduce_db
"fire==0.4.0",
"h5py==3.7.0", # for reading the RB number from the datafile
"GitPython", # for backup_reduction_scripts.py
"stomp.py",
]
[project.optional-dependencies]
dev = ["parameterized==0.8.1"]
[project.urls]
"Repository" = "https://github.com/autoreduction/scripts"
"Wiki" = "https://github.com/autoreduction/queue-processor/wiki"
[project.scripts]
autoreduce-manual-remove = "autoreduce_scripts.manual_operations.manual_remove:fire_entrypoint"
autoreduce-manual-submission = "autoreduce_scripts.manual_operations.manual_submission:fire_entrypoint"
autoreduce-check-time-since-last-run = "autoreduce_scripts.checks.daily.time_since_last_run:main"
[tool.setuptools]
packages = ["autoreduce_scripts"]
[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
"R0801", # duplicate-code
]
ignore = [".git", "migrations"]
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylint.DESIGN]
max-args = 8