-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
wxGUI: Fixed E722 in frame.py #4440
Conversation
Wait until we merge #4439 before updating this one, and at that time you could adjust the flake8 file for exclusions. If you do it before, the CI will be useless as there will be conflicts on that file. |
Ok, finally #4439 ended up finishing and merging, so time to update this one and its flake8 |
Is it expected that no flake8 exclusions were removed from the config file here? |
I noticed that a lot of merge conflicts were happening since different PRs were being merged with different modifications to |
What I usually do when having this kind of conflicts happening with ruff exclusions, is to do a PR, skip a few lines, do a PR for the other, skip a few lines, make a PR, and wait for others to be merged before filing them in. Sometimes I have them already made, but waiting in my fork before sending them. Or I find a second front to work on in the meantime that doesn't touch the same files. |
Hm, looks like we missed TypeError:
@arohanajit would you mind creating a PR that adds TypeError in cases |
Yes, I'll push one PR with this change today |
Fixed
E722
by specifying exceptionsAttributeError
incase object does not have.name
orGetLayerInfo()
attributeKeyError
incase object does not havemapplayer
attributeValueError
andIndexError
for invaliddim
types and indexing