Compare commits
3 commits
main
...
scottwalla
Author | SHA1 | Date | |
---|---|---|---|
Scott Wallace | 9d579560af | ||
Scott Wallace | 4d1904b285 | ||
Scott Wallace | 9f86ea1f30 |
12
.editorconfig
Normal file
12
.editorconfig
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*.py]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
2
.github/workflows/python-package.yml
vendored
2
.github/workflows/python-package.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8]
|
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -30,6 +30,7 @@ class Config:
|
||||||
logging.debug('Parsing config')
|
logging.debug('Parsing config')
|
||||||
parsed = {}
|
parsed = {}
|
||||||
|
|
||||||
|
if configfile is not None:
|
||||||
try:
|
try:
|
||||||
with open(configfile, 'r') as file:
|
with open(configfile, 'r') as file:
|
||||||
parsed = yaml.safe_load(file.read())
|
parsed = yaml.safe_load(file.read())
|
||||||
|
|
Loading…
Reference in a new issue