##// END OF EJS Templates
core: cleanup pyproject and makefile
super-admin -
r1314:f2acd5ab default
parent child Browse files
Show More
@@ -54,7 +54,7 b' clean:'
54 # test: run test-clean and tests
54 # test: run test-clean and tests
55 test:
55 test:
56 make test-clean
56 make test-clean
57 unset RC_SQLALCHEMY_DB1_URL && unset RC_DB_URL && make test-only
57 make test-only
58
58
59
59
60 .PHONY: test-clean
60 .PHONY: test-clean
@@ -35,8 +35,7 b' dependencies = {file = ["requirements.tx'
35 optional-dependencies.tests = {file = ["requirements_test.txt"]}
35 optional-dependencies.tests = {file = ["requirements_test.txt"]}
36
36
37 [tool.ruff]
37 [tool.ruff]
38
38 lint.select = [
39 select = [
40 # Pyflakes
39 # Pyflakes
41 "F",
40 "F",
42 # Pycodestyle
41 # Pycodestyle
@@ -45,16 +44,13 b' select = ['
45 # isort
44 # isort
46 "I001"
45 "I001"
47 ]
46 ]
48
47 lint.ignore = [
49 ignore = [
50 "E501", # line too long, handled by black
48 "E501", # line too long, handled by black
51 ]
49 ]
52
53 # Same as Black.
50 # Same as Black.
54 line-length = 120
51 line-length = 120
55
52
56 [tool.ruff.isort]
53 [tool.ruff.lint.isort]
57
58 known-first-party = ["vcsserver"]
54 known-first-party = ["vcsserver"]
59
55
60 [tool.ruff.format]
56 [tool.ruff.format]
@@ -71,7 +67,6 b' skip-magic-trailing-comma = false'
71 # Like Black, automatically detect the appropriate line ending.
67 # Like Black, automatically detect the appropriate line ending.
72 line-ending = "auto"
68 line-ending = "auto"
73
69
74
75 [tool.bumpversion]
70 [tool.bumpversion]
76 current_version = "5.4.0"
71 current_version = "5.4.0"
77 parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
72 parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
General Comments 0
You need to be logged in to leave comments. Login now