generated from linz/template-python-hello-world
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add formatting * fix: auto formatted code * fix: mypy * fix: pylint * fix: remove pretty format toml this causes `docker build .` to fail * refactor: change Credentials from a class to a namedtuple * chore: add a comment concerning osgeo import * refactor: add boto3 typing lib * fix: imports * fix: imports * fix: set typing return for S3 Bucket * fix: remove unused import and catch exception on sbuprocess failure with check=True * fix: imports * fix: imports Co-authored-by: Paul Fouquet <[email protected]> Co-authored-by: paulfouquet <[email protected]>
- Loading branch information
1 parent
d276baa
commit c3932e4
Showing
12 changed files
with
781 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Format Files | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Use Python "3.8" | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.8" | ||
- name: Install | ||
run: | | ||
pip install poetry | ||
poetry install | ||
- name: Format | ||
run: | | ||
poetry run pre-commit run --all-files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[MASTER] | ||
disable = | ||
invalid-name, | ||
missing-class-docstring, | ||
missing-module-docstring, | ||
missing-function-docstring, | ||
|
||
[FORMAT] | ||
max-line-length=127 | ||
[MISCELLANEOUS] | ||
notes=XXX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.