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

Fix flake8 errors #40

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

natifridman
Copy link
Contributor

No description provided.

@natifridman natifridman force-pushed the fix-flake8 branch 2 times, most recently from f1d9fd3 to d4fd82d Compare September 19, 2023 14:05
@staticmethod
def build_regexp():
"""Return a regular expression string for parsing phc2sys log file lines"""
return r'\s'.join((
r'^phc2sys' +
r'\[([1-9][0-9]*\.[0-9]{3})\]:'+ # timestamp
r'^phc2sys' + # noqa: W504
Copy link
Contributor

@nocturnalastro nocturnalastro Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding a noqa I'd move the +

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, added the opposite W503 to the ignored list

@natifridman natifridman merged commit 0b4f3c6 into redhat-partner-solutions:main Sep 19, 2023
2 checks passed
@natifridman natifridman deleted the fix-flake8 branch September 19, 2023 17:27
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.

3 participants