-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
executable file
·44 lines (41 loc) · 1.33 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
# --------------------
# README
# --------------------
# ROBOCOP
# --------------------
# [Documentation] https://robocop.readthedocs.io/ or the command `robocop --list`.
# --------------------
[tool.robocop]
configure = [
"line-too-long:line_length:100",
"too-many-calls-in-keyword:max_calls:20",
"too-many-calls-in-test-case:max_calls:20",
"inconsistent-assignment:assignment_sign_type:none",
"inconsistent-assignment-in-variables:assignment_sign_type:none"
]
persistent = true
# --------------------
# ROBOTIDY
# --------------------
# [Documentation] https://robotidy.readthedocs.io/en/latest/
# --------------------
[tool.robotidy]
overwrite = true
transform = [
"AlignSettingsSection",
"AlignTestCasesSection",
"AlignVariablesSection",
"AlignKeywordsSection:alignment_type=auto",
"MergeAndOrderSections",
"OrderSettings",
"OrderSettingsSection:imports_order=library,resource,variables",
"NormalizeAssignments:equal_sign_type=remove",
"NormalizeNewLines:consecutive_lines=1",
"NormalizeSectionHeaderName",
"NormalizeSettingName",
"NormalizeTags:case=lowercase",
"RenameKeywords",
"RenameTestCases:capitalize_each_word=True",
"SplitTooLongLine:line_length=180:align_new_line=True",
"NormalizeSeparators:align_new_line=True"
]