diff --git a/bin/follow-cvelist.py b/bin/follow-cvelist.py index c2e2aa1..2a96b1f 100755 --- a/bin/follow-cvelist.py +++ b/bin/follow-cvelist.py @@ -21,6 +21,7 @@ # Author : Esa Jokinen (oh2fih) # Home : https://github.com/oh2fih/Misc-Scripts # ------------------------------------------------------------------------------ +# flake8: noqa: E501 import argparse import json @@ -367,8 +368,8 @@ def generate_summary(self, cve: dict) -> str: except KeyError: try: for description in cve["containers"]["cna"]["descriptions"]: - if description["lang"] in ["en", "en-US", "en_US"]: - description = description["value"] + if description["lang"] in ["en", "en-US", "en_US"]: # type: ignore + description = description["value"] # type: ignore title = "" break except KeyError: diff --git a/bin/make-mac-prefixes.py b/bin/make-mac-prefixes.py index ad60948..0550290 100755 --- a/bin/make-mac-prefixes.py +++ b/bin/make-mac-prefixes.py @@ -9,7 +9,9 @@ # Tip: curl https://standards-oui.ieee.org/oui/oui.csv | ./make-mac-prefixes.py # # Author : Esa Jokinen (oh2fih) +# Home : https://github.com/oh2fih/Misc-Scripts # ------------------------------------------------------------------------------ +# flake8: noqa: E501 import sys import os diff --git a/bin/test-cache-enabler.py b/bin/test-cache-enabler.py index 52ab1cc..14b65bf 100755 --- a/bin/test-cache-enabler.py +++ b/bin/test-cache-enabler.py @@ -9,6 +9,7 @@ # Author : Esa Jokinen (oh2fih) # Home : https://github.com/oh2fih/Misc-Scripts # ------------------------------------------------------------------------------ +# flake8: noqa: E501 import sys import re @@ -16,10 +17,10 @@ import urllib.request try: - import validators + import validators # type: ignore except ImportError: - class validators: + class validators: # type: ignore def url(url): return True