You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: