I use flake8 together with the flake8-pyproject plugin to be able to use a single pyproejct.toml file for all my project's needs. I have the following config snippet:
File "/.../.venv/lib/python3.12/site-packages/flake8_secure_coding_standard.py", line 712, in _set_mode_option
setattr(Visitor, f'os_{name}_modes_msg_arg', f'mode in {[oct(mode) for mode in modes]}')
^^^^^^^^^
TypeError: 'str' object cannot be interpreted as an integer
I use flake8 together with the flake8-pyproject plugin to be able to use a single pyproejct.toml file for all my project's needs. I have the following config snippet:
This triggers an error: