add yaml helper script; refactor python testing

This commit is contained in:
Jason Ertel
2023-11-08 18:24:23 -05:00
parent 01e846ba22
commit 33a8ef1568
8 changed files with 183 additions and 32 deletions

27
pytest.ini Normal file
View File

@@ -0,0 +1,27 @@
[flake8]
exclude =
.venv
*/site-packages/,
*/source-packages/,
*/__pycache__
show_source = true
max_complexity = 12
max_line_length = 200
statistics = true
doctests = true
[pytest]
python_files = *_test.py
python_classes = Test
python_functions = test_*
norecursedirs = site-packages
[report]
exclude_lines =
if __name__ == .__main__.:
show_missing = True
omit =
*_test.py,
*/site-packages/*,
*/source-packages/*