Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9]
django-version: [-main, "4.0"]
python-version: [3.8, 3.9, "3.10"]
django-version: [-main, "4.0", "4.1"]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
strategy: # TODO: use a YAML anchor - not supported in GitHub actions "yet"
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
django-version: [3.2, 3.1, "3.0", "2.0", 1.11]

steps:
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,15 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
],
keywords=["pylint", "django", "plugin"],
zip_safe=False,
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ envlist =
pylint
readme
py{36}-django{111,20,-master}
py{36,37,38,39}-django{22,30,31,32}
py{38,39}-django40
py{36,37,38,39,310}-django{22,30,31,32}
py{38,39,310}-django{40,41}

requires =
pip >=21.0.1
Expand All @@ -24,7 +24,7 @@ commands =
pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django setup
readme: bash -c "python setup.py -q sdist && twine check dist/*"
py{36}-django{111,20,-main}: coverage run pylint_django/tests/test_func.py -v
py{36,37,38,39}-django{22,30,31,32}: coverage run pylint_django/tests/test_func.py -v
py{36,37,38,39,310}-django{22,30,31,32}: coverage run pylint_django/tests/test_func.py -v
clean: find . -type f -name '*.pyc' -delete
clean: find . -type d -name __pycache__ -delete
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
Expand All @@ -43,6 +43,7 @@ deps =
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django-main: Django
django-main: git+https://github.com/pycqa/astroid@main
django-main: git+https://github.com/pycqa/pylint@main
Expand All @@ -53,7 +54,7 @@ allowlist_externals =
django_not_installed: bash
readme: bash
py{36}-django{111,20,-main}: coverage
py{36,37,38,39}-django{22,30,31,32,40}: coverage
py{36,37,38,39,310}-django{22,30,31,32,40,41}: coverage
clean: find
clean: rm

Expand Down