Merge pull request #7567 from bluetech/pylint-callable-2-space
mark: fix extraneous spaces in dummy type-checking marks
This commit is contained in:
commit
422685d0bd
|
@ -476,9 +476,9 @@ class MarkGenerator:
|
||||||
skip = _SkipMarkDecorator(Mark("skip", (), {}))
|
skip = _SkipMarkDecorator(Mark("skip", (), {}))
|
||||||
skipif = _SkipifMarkDecorator(Mark("skipif", (), {}))
|
skipif = _SkipifMarkDecorator(Mark("skipif", (), {}))
|
||||||
xfail = _XfailMarkDecorator(Mark("xfail", (), {}))
|
xfail = _XfailMarkDecorator(Mark("xfail", (), {}))
|
||||||
parametrize = _ParametrizeMarkDecorator(Mark("parametrize ", (), {}))
|
parametrize = _ParametrizeMarkDecorator(Mark("parametrize", (), {}))
|
||||||
usefixtures = _UsefixturesMarkDecorator(Mark("usefixtures ", (), {}))
|
usefixtures = _UsefixturesMarkDecorator(Mark("usefixtures", (), {}))
|
||||||
filterwarnings = _FilterwarningsMarkDecorator(Mark("filterwarnings ", (), {}))
|
filterwarnings = _FilterwarningsMarkDecorator(Mark("filterwarnings", (), {}))
|
||||||
|
|
||||||
def __getattr__(self, name: str) -> MarkDecorator:
|
def __getattr__(self, name: str) -> MarkDecorator:
|
||||||
if name[0] == "_":
|
if name[0] == "_":
|
||||||
|
|
Loading…
Reference in New Issue