Add autoflake to pre-commit configuration (#9666)

This commit is contained in:
Bruno Oliveira
2022-02-11 14:34:02 -03:00
committed by GitHub
parent b79eff065e
commit 8afec9a64d
4 changed files with 8 additions and 6 deletions
-2
View File
@@ -905,8 +905,6 @@ class InstanceDummy:
only to ignore it; this dummy class keeps them working. This will be removed
in pytest 8."""
pass
def __getattr__(name: str) -> object:
if name == "Instance":
-1
View File
@@ -131,7 +131,6 @@ class ApproxBase:
# a numeric type. For this reason, the default is to do nothing. The
# classes that deal with sequences should reimplement this method to
# raise if there are any non-numeric elements in the sequence.
pass
def _recursive_list_map(f, x):