$ flake8 --version
5.0.4 (flake8-eradicate: 1.4.0, mccabe: 0.7.0, pycodestyle: 2.9.1, pyflakes: 2.5.0) CPython 3.9.15 on Linux
Working Code:
"""
#
# Copyright (c) 2022. All rights reserved.
#
# Project: Test project
# Created: 2022-09-23
#
# @package
# @subpackage
# @author
#
"""
Output:
$ flake8
$ echo $?
0
Failing Code (Only date changed):
"""
#
# Copyright (c) 2022. All rights reserved.
#
# Project: Test project
# Created: 2022-11-23
#
# @package
# @subpackage
# @author
#
"""
Output:
$ flake8
./main.py:6:1: E800 Found commented out code
$ echo $?
1
same thing happens if project is changed to a single word (e.g. test-project). Seems to be somehow related to the colons after Project/Created, if I remove them the errors disappear.
Working Code:
Output:
Failing Code (Only date changed):
Output:
same thing happens if project is changed to a single word (e.g. test-project). Seems to be somehow related to the colons after Project/Created, if I remove them the errors disappear.