diff options
author | Wolfgang Müller | 2024-11-15 15:52:00 +0100 |
---|---|---|
committer | Wolfgang Müller | 2024-11-15 15:52:00 +0100 |
commit | 36ede4eb05c508b727e41a0f43cc3c88c7a94633 (patch) | |
tree | f7e1af7b361d4bc4087de9c90d14b2e3ff19c137 /tests/api/test_filter.py | |
parent | 05f139746c38dd490d10bd3593d6e31ea0516df2 (diff) | |
download | hircine-36ede4eb05c508b727e41a0f43cc3c88c7a94633.tar.gz |
backend/lint: Do not shadow certain builtins
This commit enables ruff's flake8-builtin linter that emits warnings
when builtin functions are shadowed. This is useful for builtins like
"dict", "list", or "str" which we use often.
Given the nature of this program we historically rely a lot on the usage
of "id", "hash", and "filter" as variable names which also shadow Python
builtins. For now let's ignore those, we have not used any of them in
our code and the impact to the codebase would be considerable. This
might be revisited in the future.
Diffstat (limited to 'tests/api/test_filter.py')
0 files changed, 0 insertions, 0 deletions