mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-31 04:58:12 +00:00
Please pyright and type ignore some stuff
This commit is contained in:
parent
6f41bc8238
commit
404a589e87
8 changed files with 18 additions and 18 deletions
|
@ -79,7 +79,7 @@ copyright = '2022 - Present, VarMonke & sudosnok'
|
|||
|
||||
version = ''
|
||||
with open('../github/__init__.py') as f:
|
||||
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
|
||||
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1) #type: ignore
|
||||
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue