Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Dec 6, 2024
1 parent bb62df8 commit dd354a4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ disable=raw-checker-failed,
use-symbolic-message-instead,
use-implicit-booleaness-not-comparison-to-string,
use-implicit-booleaness-not-comparison-to-zero,
C0114, C0115, C0116,
C0114, C0115, C0116, C0103,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
2 changes: 2 additions & 0 deletions ja4db-bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
# download raw db:
# curl -s https://ja4db.com/api/read/ -o ja4db.json

# pylint: disable=R0801

from re import sub as regex_replace
from json import loads as json_loads
from json import dumps as json_dumps
Expand Down
2 changes: 2 additions & 0 deletions ja4db-dedupe.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# download raw db:
# curl -s https://ja4db.com/api/read/ -o ja4db.json

# pylint: disable=R0801

from collections import Counter
from re import sub as regex_replace
from json import loads as json_loads
Expand Down
3 changes: 2 additions & 1 deletion ja4db-to-map.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
from json import loads as json_loads

DEBUG = False
# see: https://www.haproxy.com/blog/introduction-to-haproxy-maps 'Empty lines and extra whitespace between words are ignored'
# see: https://www.haproxy.com/blog/introduction-to-haproxy-maps
# 'Empty lines and extra whitespace between words are ignored'
WHITESPACE_REPLACE = '_'

if not Path('ja4_dedupe.json').is_file():
Expand Down

0 comments on commit dd354a4

Please sign in to comment.