mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-03 23:41:51 +00:00
Cleanup: remove unicode prefix, remove explicit inheritance from object (#11015)
* Address UP025: remove unicode literals from strings. * Address UP004: class inherits from 'object'.
This commit is contained in:
parent
f61847b116
commit
0c5466de47
242 changed files with 329 additions and 331 deletions
|
|
@ -25,7 +25,6 @@ ignore = [
|
|||
"E713", # "not in" test
|
||||
"E714", # "not is" test
|
||||
"F841", # Unused variable
|
||||
"UP004", # Class `xxx` inherits from `object`
|
||||
"UP006", # Use `dict` instead of `t.Dict` for type annotation
|
||||
"UP007", # Use `X | Y` for type annotations
|
||||
"UP008", # Use `super()` instead of `super(__class__, self)`
|
||||
|
|
@ -34,7 +33,6 @@ ignore = [
|
|||
"UP018", # Unnecessary `str` call (rewrite as a literal)
|
||||
"UP020", # Use builtin `open`
|
||||
"UP024", # Replace aliased errors with `OSError`
|
||||
"UP025", # Remove unicode literals from strings
|
||||
"UP028", # Replace `yield` over `for` loop with `yield from`
|
||||
"UP029", # Unnecessary builtin import: `open`
|
||||
"UP030", # Use implicit references for positional format fields
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue