Skip to content

Conversation

@gmarciani
Copy link
Contributor

@gmarciani gmarciani commented Oct 28, 2025

Description of changes

Addressing code linter errors by fixing some lines and ignoring some minor rules.
Changes that are worth mentioning:

  1. ignore Flake8 rule B042 as it is a minor, and it is also affected by false positiveness B042 false positive PyCQA/flake8-bugbear#525.

Tests

  • PR checks

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…so affected by false positive.

Rule Description: Exception class with `__init__` should pass all args to `super().__init__()` in order to work with `copy.copy()`.

False Positive: PyCQA/flake8-bugbear#525
@gmarciani gmarciani merged commit c89f4a2 into aws:develop Oct 29, 2025
33 of 40 checks passed
@gmarciani gmarciani deleted the wip/mgiacomo/3150/code-linters-1028-1 branch October 29, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants