Show More
@@ -23,7 +23,7 classifiers = [ | |||||
23 | 'Operating System :: OS Independent', |
|
23 | 'Operating System :: OS Independent', | |
24 | 'Topic :: Software Development :: Version Control', |
|
24 | 'Topic :: Software Development :: Version Control', | |
25 | 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', |
|
25 | 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', | |
26 |
'Programming Language :: Python :: 3.1 |
|
26 | 'Programming Language :: Python :: 3.11', | |
27 | ] |
|
27 | ] | |
28 |
|
28 | |||
29 | [project.entry-points."paste.app_factory"] |
|
29 | [project.entry-points."paste.app_factory"] | |
@@ -65,7 +65,15 dependencies = {file = ["requirements.tx | |||||
65 | optional-dependencies.tests = {file = ["requirements_test.txt"]} |
|
65 | optional-dependencies.tests = {file = ["requirements_test.txt"]} | |
66 |
|
66 | |||
67 | [tool.ruff] |
|
67 | [tool.ruff] | |
68 | lint.select = [ |
|
68 | # Line length max same as Black. | |
|
69 | line-length = 120 | |||
|
70 | ||||
|
71 | # Assume Python 3.11 | |||
|
72 | target-version = "py311" | |||
|
73 | ||||
|
74 | ||||
|
75 | [tool.ruff.lint] | |||
|
76 | select = [ | |||
69 | # Pyflakes |
|
77 | # Pyflakes | |
70 | "F", |
|
78 | "F", | |
71 | # Pycodestyle |
|
79 | # Pycodestyle | |
@@ -74,17 +82,15 lint.select = [ | |||||
74 | # isort |
|
82 | # isort | |
75 | "I001" |
|
83 | "I001" | |
76 | ] |
|
84 | ] | |
77 | lint.ignore = [ |
|
85 | ||
|
86 | ignore = [ | |||
78 | "E501", # line too long, handled by black |
|
87 | "E501", # line too long, handled by black | |
79 | ] |
|
88 | ] | |
80 | # Same as Black. |
|
|||
81 | line-length = 120 |
|
|||
82 |
|
89 | |||
83 | [tool.ruff.lint.isort] |
|
90 | [tool.ruff.lint.isort] | |
84 | known-first-party = ["rhodecode"] |
|
91 | known-first-party = ["rhodecode"] | |
85 |
|
92 | |||
86 | [tool.ruff.format] |
|
93 | [tool.ruff.format] | |
87 |
|
||||
88 | # Like Black, use double quotes for strings. |
|
94 | # Like Black, use double quotes for strings. | |
89 | quote-style = "double" |
|
95 | quote-style = "double" | |
90 |
|
96 |
General Comments 0
You need to be logged in to leave comments.
Login now