Closed smehboub closed 1 year ago
Hi @smehboub, thanks for submitting this PR. Could you elaborate a bit on its purpose and what is it supposed to fix?
Got it. I ran into issues while working on another PR. Here is what I did:
Regarding the pytype
fix, I decided to configure the module name in pyproject.toml
so it is automatically detected by either make lint
or pytype
.
Regarding the safety check
fix, hiding or ignoring warnings is rarely the best option. I decided to fix the issue by pinning the version of setuptools
.
Does that make sense? If so, feel free to rebase your other PR to catch up with the latest changes.
Got it. I ran into issues while working on another PR. Here is what I did:
- I created a bug to report the behavior: bug [BUG] -
make lint
fails with the latest version ofpytype
#322- I wrote a dedicated PR with meaningful commit messages: ci:
make lint
fails with latest version ofpytype
and vulnerablesetuptools
#323Regarding the
pytype
fix, I decided to configure the module name inpyproject.toml
so it is automatically detected by eithermake lint
orpytype
.Regarding the
safety check
fix, hiding or ignoring warnings is rarely the best option. I decided to fix the issue by pinning the version ofsetuptools
.Does that make sense? If so, feel free to rebase your other PR to catch up with the latest changes.
That's most clean, thanks. I would have liked to do it together, to be a contributor to the slo-generator ;-)
@smehboub You will have plenty of other opportunities :-) Contributors are most welcome!
fix(lint): pytype checks