Fixes
Add importlib_metadata to requirements.txt Add comments stating origin of new parser
This commit is contained in:
parent
8bdf91ab96
commit
20ec8c38c2
@ -1,3 +1,5 @@
|
||||
# Extracted and mutilated from https://github.com/lordwelch/wsfmt
|
||||
# Which was extracted and mutliated from https://github.com/golang/go/tree/master/src/text/template/parse
|
||||
from __future__ import annotations
|
||||
|
||||
import calendar
|
||||
@ -11,10 +13,10 @@ class ItemType(Enum):
|
||||
Error = auto() # Error occurred; value is text of error
|
||||
EOF = auto()
|
||||
Text = auto() # Text
|
||||
LeftParen = auto() # '(' inside action
|
||||
LeftParen = auto()
|
||||
Number = auto() # Simple number
|
||||
IssueNumber = auto() # Preceded by a # Symbol
|
||||
RightParen = auto() # ')' inside action
|
||||
RightParen = auto()
|
||||
Space = auto() # Run of spaces separating arguments
|
||||
Dot = auto()
|
||||
LeftBrace = auto()
|
||||
|
@ -331,6 +331,8 @@ class FilenameInfo(TypedDict, total=False):
|
||||
eof = filenamelexer.Item(filenamelexer.ItemType.EOF, -1, "")
|
||||
|
||||
|
||||
# Extracted and mutilated from https://github.com/lordwelch/wsfmt
|
||||
# Which was extracted and mutliated from https://github.com/golang/go/tree/master/src/text/template/parse
|
||||
class Parser:
|
||||
"""docstring for FilenameParser"""
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
beautifulsoup4 >= 4.1
|
||||
importlib_metadata
|
||||
natsort>=8.1.0
|
||||
pathvalidate
|
||||
pillow>=4.3.0
|
||||
|
Loading…
Reference in New Issue
Block a user