Javier Jardón pushed to branch jjardon/pycodestyle at BuildStream / buildstream
Commits:
-
7a4999fa
by Javier Jardón at 2018-08-10T22:45:53Z
2 changed files:
Changes:
| ... | ... | @@ -10,11 +10,11 @@ parentdir_prefix = BuildStream- |
| 10 | 10 |
test=pytest
|
| 11 | 11 |
|
| 12 | 12 |
[tool:pytest]
|
| 13 |
-addopts = --verbose --basetemp ./tmp --pep8 --pylint --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc
|
|
| 13 |
+addopts = --verbose --basetemp ./tmp --codestyle --pylint --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc
|
|
| 14 | 14 |
norecursedirs = integration-cache tmp __pycache__ .eggs
|
| 15 | 15 |
python_files = tests/*/*.py
|
| 16 |
-pep8maxlinelength = 119
|
|
| 17 |
-pep8ignore =
|
|
| 16 |
+codestyle_max_line_length = 119
|
|
| 17 |
+codestyle_ignore =
|
|
| 18 | 18 |
* E129
|
| 19 | 19 |
* E125
|
| 20 | 20 |
doc/source/conf.py ALL
|
| ... | ... | @@ -261,13 +261,13 @@ setup(name='BuildStream', |
| 261 | 261 |
],
|
| 262 | 262 |
entry_points=bst_install_entry_points,
|
| 263 | 263 |
setup_requires=['pytest-runner'],
|
| 264 |
- tests_require=['pep8',
|
|
| 264 |
+ tests_require=[
|
|
| 265 | 265 |
# Pin coverage to 4.2 for now, we're experiencing
|
| 266 | 266 |
# random crashes with 4.4.2
|
| 267 | 267 |
'coverage == 4.4.0',
|
| 268 | 268 |
'pytest-datafiles',
|
| 269 | 269 |
'pytest-env',
|
| 270 |
- 'pytest-pep8',
|
|
| 270 |
+ 'pytest-codestyle',
|
|
| 271 | 271 |
'pytest-pylint',
|
| 272 | 272 |
'pytest-cov >= 2.5.0',
|
| 273 | 273 |
# Provide option to run tests in parallel, less reliable
|
