Skip to content

Commit

Permalink
Beginning cleanup of build, versions and similar to fix CI (#376), re…
Browse files Browse the repository at this point in the history
…move deprecated versions of python/django (#400) and start upgrading to be compatible with python 3.0+ (#405)
  • Loading branch information
carl-tstpd committed Oct 5, 2023
1 parent 347ad70 commit 57a15ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
9 changes: 4 additions & 5 deletions pyproject.toml
Expand Up @@ -44,21 +44,20 @@ python = ">=3.7,<4.0"
pylint-plugin-utils = ">=0.8"
pylint = ">=2.0,<3"
Django = {version=">=2.2", optional = true}
django-tables2 = {version="^2.5.3", optional = true}
factory-boy = {version="^3.2.1", optional = true}
django-tastypie = {version="^0.14.5", optional = true}

[tool.poetry.group.dev.dependencies]
tox = "^4.5.1"
pytest = "^7.3.1"
pylint = ">=2.13"
coverage = "^7.2.5"
twine = "^4.0.2"
wheel = "^0.40.0"
pytest-cov = "^4.0.0"
django-tables2 = "^2.6.0"
factory-boy = "^3.3.0"
django-tastypie = "^0.14.6"

[tool.poetry.extras]
with_django = ["Django"]
for_tests = ['django-tastypie', 'django-tables2', 'factory-boy']

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -21,7 +21,7 @@ commands =
flake8: flake8 pylint_django/
pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django
readme: bash -c "poetry build && twine check dist/*"
py{37,38,39,310,311}-django{22,30,31,32,40,41,42}: coverage run pylint_django/tests/test_func.py -v
py{37,38,39,310,311}-django{22,30,31,32,40,41,42}: bash scripts/test.sh --cov=pylint_django
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 @@ -47,7 +47,7 @@ setenv =
allowlist_externals =
django_not_installed: bash
readme: bash
py{37,38,39,310,311}-django{22,30,31,32,40,41,42}: coverage
py{37,38,39,310,311}-django{22,30,31,32,40,41,42}: bash
clean: find
clean: rm

Expand Down

0 comments on commit 57a15ac

Please sign in to comment.