tempesta-tech / tempesta-test

Test suite for Tempesta FW
11 stars 4 forks source link

removed excessive import, linting a bit #227

Closed KonsKo closed 2 years ago

KonsKo commented 2 years ago

removed excessive import, linting a bit

KonsKo commented 2 years ago

I made linting a bit (not full) for this module. I suggest to use linter for every module when someone work on it.

nickzaev commented 2 years ago

Since this code is autogenerated by a linter, we should rather discuss what linter we should use and what a config file would look like instead of cherry picking some particular aspects of it. As for me, wemake-python-styleguide is indeed "the most opinionated Python linter ever" as their docs say. I would totally argue with their point on refraining to use f-strings and double quotes, not even saying that enforcing explicit inheritance from object has no use apart from python2 support, which we're actively dropping right now.