forked from MarketSquare/robotframework-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
181 lines (169 loc) · 4.17 KB
/
pyproject.toml
File metadata and controls
181 lines (169 loc) · 4.17 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
[build-system]
requires = [
"setuptools>=61.0",
]
build-backend = "setuptools.build_meta"
[project]
name = "robotframework-browser"
version = "19.12.3"
dependencies = [
"grpcio == 1.76.0",
"grpcio-tools == 1.76.0",
"protobuf == 6.33.4",
"robotframework >= 6.1.1, < 9.0.0",
"robotframework-pythonlibcore >= 4.4.1, < 5.0.0",
"robotframework-assertion-engine >= 3.0.3, < 4.0.0",
"wrapt >= 2.0.1",
"overrides >= 7.7.0",
"click >= 8.1.8",
"seedir >= 0.5.1",
"psutil >= 7.1.3",
"PyYAML >= 6.0.3",
]
requires-python = ">= 3.10"
authors = [
{ name = "MarketSquare - Robot Framework community" },
]
maintainers = [
{ name = "Tatu Aalto", email = "aalto.aalto@gmail.com" },
{ name = "Mikko Korpela", email = "mikko.korpela@gmail.com" },
{ name = "Kerkko Pelttari", email = "kerk.pelt@gmail.com" },
{ name = "René Rohner", email = "rene@robotframework.org" },
]
description = "Robot Framework Browser library powered by Playwright. Aiming for speed, reliability and visibility."
readme = "README.md"
license = "Apache-2.0"
license-files = [
"LICENSE",
]
keywords = [
"robotframework",
"playwright",
"testing",
"automation",
"web",
"browser",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Testing",
"Framework :: Robot Framework",
"Framework :: Robot Framework :: Library",
]
[project.scripts]
rfbrowser = "Browser.entry.__main__:cli"
[project.optional-dependencies]
robocop = [
"robotframework-robocop>=6.10.0",
]
bb = [
"robotframework-browser-batteries>=19.7.2",
]
[project.urls]
Homepage = "https://robotframework-browser.org/"
Documentation = "https://marketsquare.github.io/robotframework-browser/Browser.html"
Repository = "https://github.com/MarketSquare/robotframework-browser"
Issues = "https://github.com/MarketSquare/robotframework-browser/issues"
Changelog = "https://github.com/MarketSquare/robotframework-browser/tree/main/docs/releasenotes"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = [
"utest*",
"atest*",
"node_modules*",
"docs*",
"node*",
"browser_batteries*",
]
[tool.setuptools.package-data]
"*" = [
"index.js",
"package.json",
"package-lock.json",
"selector-finder.js",
]
[tool.ruff]
exclude = [
"__pycache__",
"generated",
"wrapper",
"browser.pyi",
]
target-version = "py310"
[tool.ruff.lint]
unfixable = []
ignore = [
"B008", # do not perform function calls in argument defaults
"B904", # TODO only temporary. should be fixed.
"E501", # line too long
"N815", # mixedCase variable in class scope
"N803", # argument name should be lowercase
"N806", # variable in function should be lowercase
"N812", # lowercase imported as non lowercase
"N999", # Invalid module name: 'Browser'
"PLR0913", # too many arguments
]
select = [
"E",
"F",
"W",
"C90",
"I",
"N",
"B",
"PYI",
"PL",
"PTH",
"UP",
"A",
"C4",
"DTZ",
"ISC",
"ICN",
"INP",
"PIE",
"T20",
"PYI",
"PT",
"RSE",
"RET",
"SIM",
"RUF",
]
[tool.ruff.lint.per-file-ignores]
"tasks.py" = [
"T201",
"PTH123",
"PTH120",
]
"bootstrap.py" = [
"T201",
]
[tool.robocop.format]
line_ending = "unix"
configure = [
"NormalizeAssignments.equal_sign_type=space_and_equal_sign",
"NormalizeAssignments.equal_sign_type_variables=space_and_equal_sign",
"NormalizeNewLines.section_lines=1",
"RenameKeywords.enabled=True",
"RenameTestCases.capitalize_each_word=True:enabled=True",
]
[tool.robocop.lint]
ignore = [
"missing-doc-test-case",
"missing-doc-suite",
"missing-doc-keyword",
"missing-doc-resource-file",
"replace-set-variable-with-var", # Enable when RF 7.0 is minimum version
"no-suite-variable", # Enable when RF 7.0 is minimum version
"replace-create-with-var", # Enable when RF 7.0 is minimum version
"too-many-calls-in-test-case",
"too-long-test-case",
"line-too-long",
]
configure = [
"empty-lines-between-sections.empty_lines=1"
]