diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7fcda2..4375862 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,9 @@ --- name: Build - on: # yamllint disable-line rule:truthy push: - branches: - - main + branches: [main] workflow_dispatch: - jobs: PyPI: name: Build and publish Python distributions to TestPyPI diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 9414970..37c797d 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -4,7 +4,6 @@ on: # yamllint disable-line rule:truthy schedule: - cron: 21 08 * * * workflow_dispatch: - jobs: Install: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b752b58..c49257b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,13 +1,11 @@ --- name: Tests - on: # yamllint disable-line rule:truthy push: branches: [main] pull_request: types: [opened, synchronize] workflow_dispatch: - jobs: Tests: runs-on: ubuntu-latest diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index b652e58..df1b6b4 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -4,7 +4,6 @@ on: # yamllint disable-line rule:truthy schedule: - cron: 11 7 * * * workflow_dispatch: - jobs: Update: runs-on: ubuntu-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c6590ec..7279f96 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,8 +19,7 @@ repos: - name: Run mypy static analysis tool id: mypy files: src - additional_dependencies: - - pydantic + additional_dependencies: [pydantic] args: - --no-warn-unused-ignores - --ignore-missing-imports diff --git a/Makefile b/Makefile index 4443f96..139aa2c 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,7 @@ lint: pdm run flakeheaven lint src/ tests/ $(isort) --check-only --df $(black) --check --diff + yamllint . @echo "" diff --git a/mkdocs.yml b/mkdocs.yml index 95dfe0e..4ac27d0 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,7 +7,6 @@ nav: - Editor Integration: editor_integration.md - Reference: reference.md - Contributing: contributing.md - plugins: - search - mkdocstrings: @@ -24,7 +23,6 @@ plugins: - minify: minify_html: true - section-index - markdown_extensions: - abbr - def_list @@ -58,7 +56,6 @@ markdown_extensions: - pymdownx.tasklist: custom_checkbox: true - pymdownx.tilde - theme: name: material custom_dir: docs/theme @@ -68,12 +65,9 @@ theme: - navigation.footer - navigation.top - content.code.annotate - palette: primary: blue grey accent: light blue - extra_css: [stylesheets/extra.css, stylesheets/links.css] - repo_name: lyz-code/yamlfix repo_url: https://github.com/lyz-code/yamlfix