-
Notifications
You must be signed in to change notification settings - Fork 73
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
19373 Update CI for queue services #2424
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
queue_services/entity-filer/src/entity_filer/filing_processors/admin_freeze.py
Show resolved
Hide resolved
queue_services/entity-filer/src/entity_filer/filing_processors/change_of_registration.py
Show resolved
Hide resolved
queue_services/entity-filer/src/entity_filer/filing_processors/conversion.py
Outdated
Show resolved
Hide resolved
skips = ["B104"] | ||
|
||
[tool.flake8] | ||
ignore = ["F401","E402", "Q000", "E203", "W503"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added W503 (line break before binary operator) to the ignore array as we make use of this convention in many places to break up long conditionals. Otherwise, we end up with lines of code that exceed the max-line-length
, or we get warning W504 (line break after binary operator) if we split up the lines after the operator.
Marking as ready for review. The testing CI flows are still failing but I think they're just not completely setup yet based on this: https://github.com/bcgov/bcregistry-sre/actions/runs/7733232307 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering is it ok to update the config file a lot? I see lots of update from Patrick's ticket for isort
and black
, should I also update in mine ticket?
@tshyun24 I think you should update your PR as per Patrick's example for now. Depending on the BE service we might do specific tweaks. |
Just to build off of what Argus said, I basically copied the exact |
Thanks Leo! Forgot to refer to the updated |
Can we update all the Specifically, there were two commits, one to add the coverage dependency and one to config the pytest + coverage options. I think we'll only be able to test Business Pay CI as it's the only one that gets to the |
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Thanks for going through the huge number of files!
Issue #: /bcgov/entity#19373
Description of changes:
black
formatting errorspylint
andflake8
errorsBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).