1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-17 01:32:37 +02:00

remove unused imports and RegEx (#515)

This commit is contained in:
Muescha
2024-01-06 20:16:14 +01:00
committed by Kelly Brazil
parent a73ee47bcf
commit 8614d3dde9

View File

@ -6,7 +6,6 @@ import io
import sys import sys
import os import os
import re import re
from itertools import islice
from datetime import datetime, timezone from datetime import datetime, timezone
import textwrap import textwrap
import shlex import shlex
@ -45,8 +44,6 @@ JC_ERROR_EXIT: int = 100
MAX_EXIT: int = 255 MAX_EXIT: int = 255
SLICER_PATTERN: str = r'-?[0-9]*\:-?[0-9]*$' SLICER_PATTERN: str = r'-?[0-9]*\:-?[0-9]*$'
SLICER_RE = re.compile(SLICER_PATTERN) SLICER_RE = re.compile(SLICER_PATTERN)
NEWLINES_PATTERN: str = r'(\r\n|\r|\n)'
NEWLINES_RE = re.compile(NEWLINES_PATTERN)
class info(): class info():