diff --git a/.github/workflows/dummy.yml b/.github/workflows/dummy.yml index f83773c..0f17a1d 100644 --- a/.github/workflows/dummy.yml +++ b/.github/workflows/dummy.yml @@ -1,7 +1,6 @@ --- name: testing dummy CI -# yamllint disable-line rule:truthy on: push: branches: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5218940..5918018 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,6 @@ --- name: testing CI -# yamllint disable-line rule:truthy on: push: branches: @@ -37,10 +36,6 @@ jobs: - dependencies: ruff image: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT task: make -f Makefile fmt-travis - # VERIFICATION OF TEST INFRASTRUCTURE - - dependencies: yamllint - image: fedora:43 # CURRENT DEVELOPMENT ENVIRONMENT - task: make -f Makefile yamllint runs-on: ubuntu-latest container: ${{ matrix.image }} steps: @@ -58,3 +53,8 @@ jobs: run: python --version - name: Run test run: ${{ matrix.task }} + + general_checks: + uses: stratis-storage/github-actions/.github/workflows/reusable_general.yml@master + with: + fedora-container-image-number: 43 # CURRENT DEVELOPMENT ENVIRONMENT diff --git a/.yamllint.yaml b/.yamllint.yaml new file mode 100644 index 0000000..3902f92 --- /dev/null +++ b/.yamllint.yaml @@ -0,0 +1,8 @@ +--- +extends: default + +rules: + line-length: disable + truthy: + ignore: + .github/workflows/*.yml diff --git a/CHANGES.txt b/CHANGES.txt index f871b99..4f95790 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -122,7 +122,7 @@ Recommended release for development: Fedora 39 - Change StartPool invocation for new revision (reverted): https://github.com/stratis-storage/testing/pull/263 -- Verify intergrity meta-allocation is rounded (reverted): +- Verify integrity meta-allocation is rounded (reverted): https://github.com/stratis-storage/testing/pull/279 - Make RAID metadata tests more interesting (reverted): diff --git a/Makefile b/Makefile index d6c3a60..ff6613c 100644 --- a/Makefile +++ b/Makefile @@ -15,3 +15,12 @@ fmt-travis: .PHONY: yamllint yamllint: yamllint --strict .github/workflows/*.yml + yamllint --strict .yamllint.yaml + +.PHONY: check-typos +check-typos: + typos + +.PHONY: fix-typos +fix-typos: + typos -w diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..f0b9f43 --- /dev/null +++ b/_typos.toml @@ -0,0 +1 @@ +default.extend-ignore-re = ["a(.*)"] # ignore D-Bus introspection data diff --git a/testlib/infra.py b/testlib/infra.py index bc14249..5468b2a 100644 --- a/testlib/infra.py +++ b/testlib/infra.py @@ -766,7 +766,7 @@ class MountPointManager: def __init__(self): """ - Initalizer. + Initializer. :rtype: None """