diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9e6b7d..0669aef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ jobs: matrix: os: [ubuntu-latest] python-version: - - '3.8' - '3.11' + - '3.12' toxenv: [django42, quality, csslint, eslint] steps: diff --git a/setup.py b/setup.py index c603f92..0ba9b61 100644 --- a/setup.py +++ b/setup.py @@ -119,8 +119,8 @@ def is_requirement(line): 'Operating System :: OS Independent', 'Programming Language :: JavaScript', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Topic :: Education', 'Topic :: Internet :: WWW/HTTP', 'Framework :: Django', diff --git a/tox.ini b/tox.ini index 5ffa470..76b3b0b 100644 --- a/tox.ini +++ b/tox.ini @@ -1,63 +1,63 @@ [tox] -envlist = csslint,eslint,py{38, 311}-django{42},quality +envlist = csslint,eslint,py{311,312}-django{42},quality [testenv] -deps = +deps = django42: Django>=4.2,<4.3 -rrequirements/test.txt -commands = +commands = coverage run manage.py test coverage report coverage html [testenv:clean] -commands = +commands = coverage erase -deps = +deps = -rrequirements/test.txt skip_install = True [testenv:csslint] -allowlist_externals = +allowlist_externals = make {toxinidir}/node_modules/csslint/dist/cli.js -passenv = +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH -commands = +commands = make requirements_js {toxinidir}/node_modules/csslint/dist/cli.js imagemodal/public/ -deps = +deps = skip_install = True [testenv:eslint] -allowlist_externals = +allowlist_externals = make {toxinidir}/node_modules/eslint/bin/eslint.js -passenv = +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH -commands = +commands = make requirements_js {toxinidir}/node_modules/eslint/bin/eslint.js --fix imagemodal/public/view.js -deps = +deps = skip_install = True [testenv:quality] -passenv = +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH -deps = +deps = -rrequirements/quality.txt -commands = +commands = pycodestyle imagemodal/ --max-line-length=120 pylint imagemodal/ [testenv:transifex] -deps = +deps = transifex-client -commands = +commands = tx push -s