Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake8: Update Ignore for Prints #189

Merged
merged 1 commit into from
Jul 3, 2022

Conversation

jens-erdmann
Copy link
Collaborator

@jens-erdmann jens-erdmann commented Jul 1, 2022

Update flake8 ignore list. With version 5.0 of flake8-print the namespace got moved from T0* to T2*. To keep ignoring prints this has to be reflected in the ignore list. Hence the T001 > T201.
Also make flake8-print 5.0.0 the minimum requirement.

Signed-off-by: Jens Erdmann [email protected]

@jens-erdmann
Copy link
Collaborator Author

Pipelines currently fail with the following error:

==============================================================================
ERROR: flict/flictlib/compat_matrix.py::FLAKE8
------------------------------------------------------------------------------
/home/runner/work/flict/flict/flict/flictlib/compat_matrix.py:135:13: T201 print found.
/home/runner/work/flict/flict/flict/flictlib/compat_matrix.py:136:13: T201 print found.
==============================================================================
ERROR: flict/__main__.py::FLAKE8
------------------------------------------------------------------------------
/home/runner/work/flict/flict/flict/__main__.py:231:5: T201 print found.
------------------------------------------------------------------------------

@priv-kweihmann
Copy link
Collaborator

Then please also ensure that we are installing flake8-print > 5.0 in the requirements-dev.txt

Update flake8 ignore list. With version 5.0 of flake8-print the
namespace got moved from T0* to T2*. To keep ignoring prints this has to
be reflected in the ignore list. Hence the T001 > T201.
Also make flake8-print 5.0.0 the minimum requirement.

Signed-off-by: Jens Erdmann <[email protected]>
@jens-erdmann
Copy link
Collaborator Author

Then please also ensure that we are installing flake8-print > 5.0 in the requirements-dev.txt

Good point. Modified the changes accordingly.

@priv-kweihmann priv-kweihmann merged commit d94a6fa into vinland-technology:main Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants