Skip to content

Commit 7afb0b8

Browse files
author
Andras Mitzki
committed
pep8: Switch to package pycodestyle from pep8
* pep8 as package is discontinued, last release version is: 1.7.1 * references: * PyCQA/pycodestyle#466 * PyCQA/pycodestyle#481 * https://github.com/PyCQA/pycodestyle/releases/tag/1.7.1 Signed-off-by: Andras Mitzki <[email protected]>
1 parent 462eebb commit 7afb0b8

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

dbld/images/required-pip/all.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
nose==1.3.7
22
ply==3.10
3-
pep8==1.7.1
3+
pycodestyle==2.3.1
44
pylint==1.8.2
55
astroid==1.6.1
66
logilab-common<=0.63.0

modules/python/pylib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/install/ DESTINATION ${CMAKE_INSTA
1717

1818
if (BUILD_TESTING)
1919
add_test(test_pylib_unit ${CMAKE_COMMAND} -E env nosetests ${CMAKE_CURRENT_SOURCE_DIR}/syslogng)
20-
add_test(test_pylib_pep8 ${CMAKE_COMMAND} -E env pep8 --ignore=E501 ${CMAKE_CURRENT_SOURCE_DIR}/syslogng)
20+
add_test(test_pylib_pycodestyle ${CMAKE_COMMAND} -E env pycodestyle --ignore=E501 ${CMAKE_CURRENT_SOURCE_DIR}/syslogng)
2121
add_test(test_pylib_pylint ${CMAKE_COMMAND} -E env pylint -r n --rcfile=${CMAKE_CURRENT_SOURCE_DIR}/pylintrc ${CMAKE_CURRENT_SOURCE_DIR}/syslogng)
2222
endif()

modules/python/pylib/Makefile.am

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ clean-pylib:
6363
rm -rf "$(PYLIB_BUILDDIR)/build"
6464
rm -rf "$(SETUPPY_MANIFEST)"
6565

66-
python-checks: python-unit python-pep8 python-pylint
66+
python-checks: python-unit python-pycodestyle python-pylint
6767

6868
python-unit:
6969
nosetests $(PYLIB_SRCDIR)/syslogng
7070

71-
python-pep8:
72-
pep8 --ignore=E501 $(PYLIB_SRCDIR)/syslogng
71+
python-pycodestyle:
72+
pycodestyle --ignore=E501 $(PYLIB_SRCDIR)/syslogng
7373

7474
python-pylint:
7575
pylint -r n --rcfile=$(PYLIB_SRCDIR)/pylintrc $(PYLIB_SRCDIR)/syslogng
@@ -82,4 +82,4 @@ endif
8282
.PHONY: install-pylib
8383
.PHONY: uninstall-pylib
8484
.PHONY: clean-pylib
85-
.PHONY: python-checks python-unit python-pep8 python-pylint
85+
.PHONY: python-checks python-unit python-pycodestyle python-pylint

packaging/debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Build-Depends: debhelper (>= 9~),
3131
libriemann-client-dev (>= 1.6.0~),
3232
librabbitmq-dev (>= 0.5.3~),
3333
python, python-dev, pylint, dh-python,
34-
pep8 | python-pep8,
34+
pycodestyle | python-pycodestyle,
3535
python-setuptools,
3636
dh-exec,
3737
python-nose, python-ply,

0 commit comments

Comments
 (0)