Skip to content

Commit

Permalink
Run mypy and fix errors, add linters as Poetry dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
abelbriggs1 committed May 19, 2024
1 parent a8a036b commit fbaab5a
Show file tree
Hide file tree
Showing 4 changed files with 458 additions and 11 deletions.
2 changes: 1 addition & 1 deletion asm_differ/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ def debounce_thread() -> NoReturn:
listenq: "queue.Queue[float]" = queue.Queue()
file_targets: List[str] = []
event_handler = WatchEventHandler(listenq, file_targets)
observer = watchdog.observers.Observer()
observer = watchdog.observers.Observer() # type: ignore
observed = set()
for target in targets:
if os.path.isdir(target):
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ warn_return_any = True
warn_unused_ignores = True
ignore_missing_imports = True
python_version = 3.7
files = diff.py, test.py
packages = asm_differ

[mypy-diff_settings]
ignore_errors = True
Loading

0 comments on commit fbaab5a

Please sign in to comment.