Skip to content

MAINT: Enforce ruff/flake8-bugbear rules (B)#1502

Merged
mattip merged 3 commits intoairspeed-velocity:mainfrom
DimitriPapadopoulos:B
Aug 18, 2025
Merged

MAINT: Enforce ruff/flake8-bugbear rules (B)#1502
mattip merged 3 commits intoairspeed-velocity:mainfrom
DimitriPapadopoulos:B

Conversation

@DimitriPapadopoulos
Copy link
Contributor

No description provided.

Copy link
Contributor

@mattip mattip left a comment

Choose a reason for hiding this comment

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

LGTM, one small nit. It is fine to do it in another PR

@DimitriPapadopoulos DimitriPapadopoulos force-pushed the B branch 2 times, most recently from 06373d6 to 382d69e Compare May 22, 2025 07:51
@DimitriPapadopoulos
Copy link
Contributor Author

Cannot make sense of the CI error yet:

FAILED test/test_continuous.py::test_continuous - KeyError: 'environments'

B009 Do not call `getattr` with a constant attribute value.
     It is not any safer than normal property access.
B010 Do not call `setattr` with a constant attribute value.
     It is not any safer than normal property access.
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review August 17, 2025 15:10
@mattip mattip merged commit 2dc6e10 into airspeed-velocity:main Aug 18, 2025
14 checks passed
@mattip
Copy link
Contributor

mattip commented Aug 18, 2025

Thanks @DimitriPapadopoulos

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