diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-02 03:00:59 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-05-02 03:00:59 +0200 |
commit | d17967eea2e42466103347257002451f17b5d5e8 (patch) | |
tree | d299b451ade590ab3cbf90c703c5914cad2fef4e /mu4web/password.py | |
parent | Hopefully fix installation issues. (diff) | |
download | mu4web-d17967eea2e42466103347257002451f17b5d5e8.tar.gz mu4web-d17967eea2e42466103347257002451f17b5d5e8.tar.xz |
Configure linters.
Introduce flake8 and mypy for better error checking.
Fix all errors and warnings emitted by those.
Also fix type error with `url_for`.
Diffstat (limited to 'mu4web/password.py')
-rwxr-xr-x | mu4web/password.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mu4web/password.py b/mu4web/password.py index af33cb6..26bc712 100755 --- a/mu4web/password.py +++ b/mu4web/password.py @@ -89,7 +89,7 @@ class Passwords: return data['hash'] == digest -def main(): +def main() -> None: import argparse parser = argparse.ArgumentParser() |