diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index eef136c..b153943 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -5,8 +5,8 @@ version: 2 updates: - - package-ecosystem: "pip" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: "pip" # See documentation for possible values + directory: "/" # Location of package manifests schedule: interval: daily time: "13:00" diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 19e88c7..aad706b 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -35,5 +35,5 @@ jobs: - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: - folder: htmlcov # The folder the action should deploy. + folder: htmlcov # The folder the action should deploy. branch: coverage-report diff --git a/.github/workflows/linting-tests.yaml b/.github/workflows/linting-tests.yaml index 6125661..5b7309b 100644 --- a/.github/workflows/linting-tests.yaml +++ b/.github/workflows/linting-tests.yaml @@ -26,5 +26,5 @@ jobs: run: | mypy src/ - name: Test with pytest and generate coverage report - run: | + run: |- coverage run --source=src/geodense -m pytest -v tests diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yaml similarity index 91% rename from .github/workflows/python-publish.yml rename to .github/workflows/python-publish.yaml index d4cd401..996d045 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yaml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 # to fetch all history for all branches and tags; required because we derive app version from latest tag + fetch-depth: 0 # to fetch all history for all branches and tags; required because we derive app version from latest tag fetch-tags: true - name: Install uv uses: astral-sh/setup-uv@v3 diff --git a/.yamlfmt b/.yamlfmt new file mode 100644 index 0000000..91fa1da --- /dev/null +++ b/.yamlfmt @@ -0,0 +1,6 @@ +formatter: + type: basic + pad_line_comments: 2 + include_document_start: false + trim_trailing_whitespace: true + eof_newline: true