+19
-1
lines changedFilter options
+19
-1
lines changed Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1
1
[tox]
2
-
envlist = docs, flake8
2
+
envlist = docs, flake8, isort
3
3
4
4
[testenv:docs]
5
5
skip_install = true
@@ -15,9 +15,27 @@ deps = flake8
15
15
flake8-typing-imports
16
16
commands = flake8 {posargs} --min-python-version=3.7
17
17
18
+
18
19
[testenv:mypy]
19
20
skip_install = true
20
21
deps =
21
22
mypy
22
23
lxml
23
24
commands = mypy {posargs}
25
+
26
+
27
+
[isort]
28
+
; isort is a common python tool for keeping imports nicely formatted.
29
+
; Automatically keep imports alphabetically sorted, on single lines in
30
+
; PEP recommended sections (https://peps.python.org/pep-0008/#imports)
31
+
; files or individual lines can be ignored via `# isort:skip|# isort:skip_file`.
32
+
; this is using --diff which is a NO-OP, requires additional discussion / approval being enabled.
33
+
profile = black
34
+
multi_line_output = 3
35
+
py_version=37
36
+
37
+
[testenv:isort]
38
+
skip_install = true
39
+
deps =
40
+
isort==5.10.1
41
+
commands = isort test/ --diff
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4