Skip to content

Commit

Permalink
Add type hints and fix some Pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
abdnh committed Aug 20, 2023
1 parent da95afc commit 8b7edd6
Show file tree
Hide file tree
Showing 7 changed files with 370 additions and 283 deletions.
11 changes: 10 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,13 @@ disable=
protected-access,
arguments-renamed,
consider-using-f-string,
invalid-name
invalid-name,
; Temporarily disabled until I get the time to do a big refactoring
duplicate-code,
too-many-branches,
too-many-statements,
too-many-arguments,
too-many-instance-attributes,
too-many-locals,
consider-using-with,
too-many-boolean-expressions,
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ modules = src,tests

[mypy-src.vendor.*]
ignore_missing_imports = True

[mypy-pysubs2.*]
ignore_missing_imports = True
Loading

0 comments on commit 8b7edd6

Please sign in to comment.