Show More
@@ -23,7 +23,7 b' classifiers = [' | |||
|
23 | 23 | 'Operating System :: OS Independent', |
|
24 | 24 | 'Topic :: Software Development :: Version Control', |
|
25 | 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 | 29 | [project.entry-points."paste.app_factory"] |
@@ -65,7 +65,15 b' dependencies = {file = ["requirements.tx' | |||
|
65 | 65 | optional-dependencies.tests = {file = ["requirements_test.txt"]} |
|
66 | 66 | |
|
67 | 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 | 77 | # Pyflakes |
|
70 | 78 | "F", |
|
71 | 79 | # Pycodestyle |
@@ -74,17 +82,15 b' lint.select = [' | |||
|
74 | 82 | # isort |
|
75 | 83 | "I001" |
|
76 | 84 | ] |
|
77 | lint.ignore = [ | |
|
85 | ||
|
86 | ignore = [ | |
|
78 | 87 | "E501", # line too long, handled by black |
|
79 | 88 | ] |
|
80 | # Same as Black. | |
|
81 | line-length = 120 | |
|
82 | 89 | |
|
83 | 90 | [tool.ruff.lint.isort] |
|
84 | 91 | known-first-party = ["rhodecode"] |
|
85 | 92 | |
|
86 | 93 | [tool.ruff.format] |
|
87 | ||
|
88 | 94 | # Like Black, use double quotes for strings. |
|
89 | 95 | quote-style = "double" |
|
90 | 96 |
General Comments 0
You need to be logged in to leave comments.
Login now