Skip to content

Commit 4e15ae1

Browse files
committed
Fix tox config and lint Python version
1 parent 06d3211 commit 4e15ae1

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ jobs:
6868
steps:
6969
- uses: actions/checkout@v2
7070

71-
- name: Set up Python 3.6
71+
- name: Set up Python 3.12
7272
uses: actions/setup-python@v2
7373
with:
74-
python-version: '3.6'
74+
python-version: '3.12'
7575

7676
- name: Install tox and flake8 packages
7777
run: pip install tox tox-gh-actions flake8

tox.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
[tox]
2-
# Having the .tox directory in the project directory slows down the
3-
# `pip install -e .` step required by `usedevelop = true` considerably.
4-
# By moving it out of the way (~500MB), we trim test execution time by > 80%.
5-
toxworkdir = {homedir}/.toxenvs/django-click
62
envlist =
73
dj{42,50},flake8
84

@@ -12,7 +8,7 @@ django =
128
5.0: dj50
139

1410
[testenv]
15-
usedevelop = true
11+
package = editable
1612
passenv = LC_ALL, LANG, LC_CTYPE
1713
setenv =
1814
DJANGO_SETTINGS_MODULE=testprj.settings

0 commit comments

Comments
 (0)