-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (96 loc) · 1.84 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (96 loc) · 1.84 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[tool.poetry]
name = "robotframework-reportmodifier"
version = "0.2.6"
description = "Filter report content."
authors = ["Matthias Gunther <matthiasgunther@gmail.com>"]
homepage = "https://github.com/MarketSquare/robotframework-reportmodifier"
readme = "README.md"
packages = [
{ include = "reportmodifier", from = "src" },
{ include = "ReportModifierListener", from = "src" }
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.8"
robotframework = "^6"
[tool.poetry.group.config.dependencies]
PyYAML = "^6.0"
pathlib = "^1.0.1"
regex = "^2023.10.3"
[tool.poetry.group.dev.dependencies]
robotframework = "^6.1"
ruff = "*"
mypy = "*"
black = "*"
[tool.ruff]
line-length = 120
target-version = "py38"
exclude = [
".vscode",
"\\.venv",
".git",
".mypy_cache",
".ruff_cache",
"_build",
"buck-out",
"build",
"dist",
"tasks.py"
]
[tool.ruff.lint] # File reference here - https://docs.astral.sh/ruff/rules/
extend-select = ["E501"]
ignore = ["E741", "N805", "PT009", "RET503"]
select = [
"E",
"F",
"W",
"I",
"N",
"UP",
"YTT",
"BLE",
"B",
"A",
"C4",
"DTZ",
"T10",
"EM",
"G",
"INP",
"PIE",
"T20",
"PT",
"Q",
"RET",
"TID",
"TCH",
"ARG",
"PTH"
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
# MyPy config
# File reference here - http://mypy.readthedocs.io/en/latest/config_file.html#config-file
python_version = 3.8
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
warn_unused_configs = true
strict = true
disallow_subclassing_any = false
#ignore_missing_imports = true
exclude = [
"\\.mypy_cache",
"\\.venv",
"build",
"dist",
"out",
"playground",
"scripts"
]
[[tool.mypy.overrides]]
module = ["robot.*", "robotidy.*", "robocop.*"]
ignore_missing_imports = true