File: tox.ini

package info (click to toggle)
feed2exec 0.22.0
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,228 kB
  • sloc: python: 2,417; xml: 788; makefile: 199
file content (36 lines) | stat: -rw-r--r-- 623 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
34
35
36
[tox]
envlist = py,flake8,mypy

[testenv]
deps =
  -r requirements.txt
  -r requirements-test.txt
commands = pytest --import-mode=importlib {posargs}

[testenv:flake8]
skip_install = true
deps = flake8
commands = flake8 feed2exec

[testenv:black]
skip_install = true
deps = black
commands = black --diff --check feed2exec

[testenv:isort]
skip_install = true
deps = isort
commands = isort . --diff --check --profile black

[testenv:mypy]
skip_install = true
deps =
  mypy
  types-click
  types-dateparser
  types-html5lib
  lxml-stubs
  types-mock
  types-requests
  types-pkg-resources
commands = python -m mypy feed2exec