projects
/
python_utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get mypy to stop with this fucking "has no attribute" shit when
[python_utils.git]
/
config.py
diff --git
a/config.py
b/config.py
index 22660cc41c46fc92dba8c32e0caf61c4d5d207c5..1ac5cff30add3fcbd0eb0a03d7361f06515cbbfe 100644
(file)
--- a/
config.py
+++ b/
config.py
@@
-159,6
+159,10
@@
group.add_argument(
)
+def overwrite_argparse_epilog(msg: str) -> None:
+ args.epilog = msg
+
+
def is_flag_already_in_argv(var: str):
"""Is a particular flag passed on the commandline?"""
for _ in sys.argv: