Skip to content

Commit 6eb4139

Browse files
committed
GitHub Actions: Run Python 3.6 on Ubuntu 20.04
1 parent 36a2daa commit 6eb4139

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
toxpython: 'python3.6'
6666
python_arch: 'x64'
6767
tox_env: 'py36-pytest70-xdist250-coverage62'
68-
os: 'ubuntu-latest'
68+
os: 'ubuntu-20.04'
6969
- name: 'py36-pytest70-xdist250-coverage62 (windows)'
7070
python: '3.6'
7171
toxpython: 'python3.6'

.ruff.toml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# [tool.ruff] # <- TODO Uncomment when migrating to pyproject.toml
2+
exclude = [
3+
".eggs",
4+
".tox",
5+
"build",
6+
"ci/templates",
7+
"dist",
8+
]
9+
line-length = 140
10+
select = [
11+
"E",
12+
"F",
13+
"I",
14+
"PLC",
15+
"PLE",
16+
"UP",
17+
"W",
18+
]
19+
target-version = "py37"
20+
21+
# [tool.ruff.isort] # <- TODO Uncomment when migrating to pyproject.toml
22+
[isort]
23+
# default-section = "THIRDPARTY"
24+
force-single-line = true
25+
forced-separate = ["test_pytest_cov"]
26+
known-first-party = ["pytest_cov"]

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,13 @@ commands =
8787

8888
[testenv:check]
8989
deps =
90-
docutils
9190
check-manifest
91+
colorama # TODO Remove when isort > v6.0.0b2 is released.
92+
docutils
9293
flake8
93-
readme-renderer
94-
pygments
9594
isort
95+
pygments
96+
readme-renderer
9697
skip_install = true
9798
usedevelop = false
9899
commands =

0 commit comments

Comments
 (0)