File tree Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Expand file tree Collapse file tree 3 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 1+ [flake8]
2+ max-line-length = 99
3+ ignore = W503
4+ exclude =
5+ .git
6+ .tox
7+ venv*
8+
9+ # pending revision
10+ cssselect/__init__.py
11+ cssselect/parser.py
12+ cssselect/xpath.py
13+ docs/conf.py
14+ setup.py
15+ tests/test_cssselect.py
Original file line number Diff line number Diff line change 77 strategy :
88 matrix :
99 include :
10+ - python-version : 3
11+ env :
12+ TOXENV : flake8
1013 - python-version : 3
1114 env :
1215 TOXENV : security
Original file line number Diff line number Diff line change 11[tox]
2- envlist = security,py
2+ envlist = flake8, security,py
33
44[testenv]
5+ basepython = python3
56deps =
67 -r tests/requirements.txt
7-
88commands =
99 py.test --cov-report term --cov =cssselect
1010
11+ [testenv:flake8]
12+ deps =
13+ flake8 ==3.9.2
14+ commands =
15+ flake8 {posargs: cssselect setup.py tests docs/conf.py}
16+
1117[testenv:security]
1218deps =
1319 bandit
1420commands =
15- bandit -r -c .bandit.yml {posargs:cssselect}
21+ bandit -r -c .bandit.yml {posargs: cssselect}
You can’t perform that action at this time.
0 commit comments