chore: adding extra checks, more scoping (#867)

* chore: adding extra checks, more scoping

* Remove 'manual' pre-commit checks from CI

Co-authored-by: Joe Rickerby <joerick@mac.com>
This commit is contained in:
Henry Schreiner
2021-10-16 21:31:20 -04:00
committed by GitHub
co-authored by Joe Rickerby
parent bf36398572
commit f511961b40
10 changed files with 50 additions and 30 deletions
+4 -4
View File
@@ -157,18 +157,18 @@ class TestSelector(IdentifierSelector):
# Taken from https://stackoverflow.com/a/107717
class Unbuffered:
def __init__(self, stream): # type: ignore
def __init__(self, stream): # type: ignore[no-untyped-def]
self.stream = stream
def write(self, data): # type: ignore
def write(self, data): # type: ignore[no-untyped-def]
self.stream.write(data)
self.stream.flush()
def writelines(self, data): # type: ignore
def writelines(self, data): # type: ignore[no-untyped-def]
self.stream.writelines(data)
self.stream.flush()
def __getattr__(self, attr): # type: ignore
def __getattr__(self, attr): # type: ignore[no-untyped-def]
return getattr(self.stream, attr)