File: tox.ini

package info (click to toggle)
rdflib-sqlalchemy 0.5.4%2Bgit99f4689-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 10,544 kB
  • sloc: python: 2,418; sh: 20; makefile: 3
file content (32 lines) | stat: -rw-r--r-- 489 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
[tox]
envlist =
    py37,py38,py39,py310,lint

[testenv]
passenv = DB,DBURI
commands =
    {envpython} setup.py clean --all
    {envpython} -m pytest --cov=rdflib_sqlalchemy

deps =
    pytest>=3.4.0
    pytest-cov>=2.5.1
    psycopg2
    mysqlclient

[testenv:lint]
commands = flake8 rdflib_sqlalchemy test
deps =
    flake8

[gh-actions]
python =
    3.7: py37, lint
    3.8: py38
    3.9: py39
    3.10: py310

[flake8]
max-line-length = 120
max-complexity = 15
ignore = W504,W503,E128