-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (72 loc) · 2.44 KB
/
pyproject.toml
File metadata and controls
82 lines (72 loc) · 2.44 KB
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
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "rascal2"
dynamic = ["version"]
dependencies = [
"ratapi",
"PyQt6",
]
description = "RasCAL2: GUI for Reflectivity Algorithm Toolbox (RAT)"
readme = "README.md"
license = {file = "LICENSE"}
[project.urls]
Documentation = "https://rascalsoftware.github.io/RAT/master/index.html"
Repository = "https://github.com/RascalSoftware/RasCAL-2"
[tool.setuptools]
py-modules = []
[tool.setuptools.dynamic]
version = {attr = "rascal2.RASCAL2_VERSION"}
[tool.ruff]
line-length = 120
extend-exclude = ["examples/*", "doc/*"]
[tool.ruff.lint]
select = ["E", "F", "UP", "B", "SIM", "I", "N", "TD003", "A", "D"]
ignore = ["SIM108", "N817", "D100", "D102", "D104", "D105", "D107", "D203"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
# ignore docstring lints in the tests and install script
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["D101", "D103"]
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
[tool.ruff.lint.pep8-naming]
# if overriding a PyQt method, please add it here!
# names should be in alphabetical order for readability
extend-ignore-names = ['allKeys',
'addItem',
'addItems',
'closeEvent',
'columnCount',
'createEditor',
'expandingDirections',
'eventFilter',
'hasHeightForWidth',
'headerData',
'heightForWidth',
'isClean',
'itemAt',
'mergeWith',
'minimumSize',
'mouseDoubleClickEvent',
'paintEvent',
'resizeEvent',
'rowCount',
'setClean',
'setData',
'setEditorData',
'setGeometry',
'setModel',
'setModelData',
'setText',
'setValue',
'showEvent',
'sizeHint',
'stepBy',
'supportedDropActions',
'takeAt',
'textFromValue',
'timerEvent',
'valueFromText',]