Martin Weinelt
e0942417a1
Use custom YAML subclass to be compatible with ruamel_yaml>=0.17
...
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de >
2021-07-04 16:53:09 +02:00
JoeLametta
042bf8f926
Mark suitable methods as static
...
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com >
2021-05-26 10:35:58 +00:00
JoeLametta
06356fc40f
README update, code linting changes
...
- PEP8 fix
- Remove useless parens
- Docstring fixes
- RegEX: remove unneeded escape character
- accuraterip-checksum: output usage to stderr in case of wrong invocation
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com >
2021-05-26 10:35:58 +00:00
ABCbum
f59caeae7b
Test all four cases of whipper version schemes
...
Group different version schemes with the actual one generated from the logger in a list to avoid parsing a whole .log file.
The four possible cases are documented here: https://github.com/pypa/setuptools_scm/#default-versioning-scheme .
Fixes : #427 .
Signed-off-by: ABCbum <kimlong221002@gmail.com >
2020-01-29 08:45:07 +00:00
JoeLametta
d5bf83e4cc
Whipper's version RegEX: support all valid scheme cases
...
Initial work by ArchangeGabriel: https://github.com/whipper-team/whipper/pull/421
Fixes #420 .
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com >
2019-12-03 10:53:05 +00:00
JoeLametta
bb4c25df97
Address ResourceWarning warnings
...
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com >
2019-11-26 18:48:01 +00:00
JoeLametta
35201d5290
Address errors, improvements, formatting
...
- Removed unused code not portable due to buffer() use
- raw_input() does not exist in Python 3
- Fixed octal constant syntax for Python 3
- Fixed TypeError
- Replace if not exists: makedirs(path) with single call: using makedirs(path, exist_ok=True)
- Class inherits from object, can be safely removed from bases in python3: pylint's useless-object-inheritance (W0235) check
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com >
2019-11-26 18:46:12 +00:00
JoeLametta
f740a0ef0d
Add missing backslash to RegEX
...
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com >
2019-11-01 09:26:42 +00:00
itismadness
3cd2da79c3
write unit test case for WhipperLogger
...
Signed-off-by: itismadness <itismadness@users.noreply.github.com >
2019-10-27 08:00:00 +00:00