"Fossies" - the Fresh Open Source Software Archive

Member "buku-4.3/tox.ini" (31 Jan 2020, 1418 Bytes) of package /linux/privat/buku-4.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) INI source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "tox.ini": 4.2.2_vs_4.3.

    1 [tox]
    2 envlist = python35,python36,python37,python38,pylint,flake8
    3 
    4 [flake8]
    5 max-line-length = 139
    6 ignore =
    7     # C901 func is too complex
    8     C901,
    9     # E126 continuation line over-indented for hanging indent
   10     E126,
   11     # E127 continuation line over-indented for visual indent
   12     E127,
   13     # E226 missing whitespace around arithmetic operator
   14     E226,
   15     # E231 missing whitespace after ','
   16     E231,
   17     # E302 expected 2 blank lines, found 1
   18     E302,
   19     # E305 expected 2 blank lines after class or function definition, found 1
   20     E305,
   21     # E731 do not assign a lambda expression, use a def
   22     E731,
   23     # W292 no newline at end of file
   24     W292,
   25     # W504 line break after binary operator
   26     W504,
   27 
   28 [testenv]
   29 usedevelop = true
   30 deps = pytest
   31 
   32 [testenv:python35]
   33 extras = tests
   34 commands =
   35     pytest --cov buku -vv -m "not non_tox" {posargs}
   36 
   37 [testenv:python36]
   38 extras = tests
   39 commands =
   40     pytest --cov buku -vv -m "not non_tox" {posargs}
   41 
   42 [testenv:python37]
   43 extras = tests
   44 commands =
   45     pytest --cov buku -vv -m "not non_tox" {posargs}
   46 
   47 [testenv:python38]
   48 extras = tests
   49 commands =
   50     pytest --cov buku -vv -m "not non_tox" {posargs}
   51 
   52 [testenv:pylint]
   53 deps = pylint
   54 whitelist_externals = 
   55     /usr/bin/find
   56 commands =
   57     find . -iname "*.py" -not -path "./.tox/*" -not -path "./build/*" -exec pylint --rcfile tests/.pylintrc \{\} +
   58 
   59 [testenv:flake8]
   60 deps = flake8
   61 commands =
   62     python -m flake8