Skip to content
Snippets Groups Projects
tox.ini 754 B
Newer Older
[tox]
skipsdist = True
whitelist_externals = poetry
skip_install = true
commands = pytest --pylama --cov=biscuit {posargs} biscuit/core/
    TEST_SCREENSHOT_PATH = {env:TEST_SCREENSHOT_PATH:}
    TEST_SELENIUM_HUB = {env:TEST_SELENIUM_HUB:}
    TEST_SELENIUM_BROWSERS = {env:TEST_SELENIUM_BROWSERS:}
    TEST_HOST = {env:TEST_HOST:}
[pylama]
linters = pycodestyle,pyflakes,radon
[pycodestyle]
max_line_length = 100
ignore = E501
[autopep8]
jobs = 0
aggressive = true

[mypy]
plugins = mypy_django_plugin.main

[mypy.plugins.django-stubs]
django_settings_module = biscuit.core.settings

[pytest]
DJANGO_SETTINGS_MODULE = biscuit.core.settings

[coverage:run]
omit = */migrations/*
    */tests/*