Fix formatting in Python workflow and update .gitignore to include Ansible files
This commit is contained in:
4
.github/workflows/python.yml
vendored
4
.github/workflows/python.yml
vendored
@@ -3,7 +3,7 @@ name: Python Lint Check
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-python:
|
check-python:
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pylint $python_files
|
pylint --exit-zero $python_files
|
||||||
|
|
||||||
- name: Check Black formatting
|
- name: Check Black formatting
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,2 +1,4 @@
|
|||||||
logs/*
|
logs/*
|
||||||
**/__pycache__/
|
**/__pycache__/
|
||||||
|
.ansible/
|
||||||
|
.ansible/.lock
|
||||||
|
|||||||
Reference in New Issue
Block a user