File: tox.ini

package info (click to toggle)
python-crispy-bootstrap5 2025.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 724 kB
  • sloc: python: 2,035; sh: 6; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 897 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tox]
envlist =
    {py38,py39,py310,py311}-django{42}-crispy{-release,-latest},
    {py310,py311,py312}-django{50,51,52,-latest}-crispy{-release,-latest},
    {py313}-django{51,52,-latest}-crispy{-release,-latest},
    lint

[testenv]
package = wheel
wheel_build_env = .pkg
deps =
    django42: django>=4.2a1,<5.0
    django50: django>=5.0a1,<5.1
    django51: django>=5.1a1,<5.2
    django52: django>=5.2a1,<5.3
    crispy-release: django-crispy-forms>=2.3
    crispy-latest: https://github.com/django-crispy-forms/django-crispy-forms/archive/main.tar.gz
extras = test
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning -m pytest {posargs}

[testenv:lint]
skip_install = true
commands =
    black crispy_bootstrap5 --check
    isort crispy_bootstrap5 --check --dif
    flake8 crispy_bootstrap5
deps =
    black
    flake8
    isort

[flake8]
max-line-length = 88