diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index ba24457..9bb83b1 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -10,13 +10,12 @@ jobs: uses: ./.github/workflows/reusable-static-analysis.yml tests: - needs: static-analysis if: github.repository != 'mattdeform/MayaPythonProjectTemplate' uses: ./.github/workflows/reusable-maya-tests.yml do_release: if: github.repository != 'mattdeform/MayaPythonProjectTemplate' - needs: [static-analysis, tests] + needs: [tests] uses: ./.github/workflows/reusable-semantic-release.yml permissions: contents: write @@ -24,7 +23,7 @@ jobs: docs: if: github.repository != 'mattdeform/MayaPythonProjectTemplate' - needs: [static-analysis, tests, do_release] # only build docs when release is successful + needs: [tests, do_release] # only build docs when release is successful uses: ./.github/workflows/reusable-build-and-deploy-docs.yml permissions: contents: write diff --git a/.github/workflows/reusable-static-analysis.yml b/.github/workflows/reusable-static-analysis.yml index 2b0c6b5..dd39c58 100644 --- a/.github/workflows/reusable-static-analysis.yml +++ b/.github/workflows/reusable-static-analysis.yml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint black mypy + pip install pylint mypy - name: Analysing the code with pylint run: | @@ -36,7 +36,7 @@ jobs: uses: psf/black@stable with: src: "src" - options: "--check" + options: "--diff" - name: Analysing the code with mypy run: mypy src \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a4e9a56..ebc5f7a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,12 +51,12 @@ This project (optionally) uses [Python Semantic Release](https://python-semantic Cheat sheet: -- Patch release, backwards-compatible bug `fix` _in git commit message title_, e.g. - - `git commit -m 'fix: a great fix'` +- Patch release, backwards-compatible bug `fix` _in git commit message title_. + - `git commit -a -m "fix: a great fix"` - Minor release, backwards-compatible `feat` _in git commit message title_. - - `git commit -m 'feat: Add some AmazingFeature'` -- Major release, incompatible API change `BREAKING CHANGE` _in git commit msg footer (use `fix` or `feat` for message title)_. - - `git commit -m 'feat: Add some AmazingFeature\n\nBREAKING CHANGE'` + - `git commit -a -m "feat: a wonderful new feature"` +- Major release, incompatible API change `BREAKING CHANGE` _in git commit message footer (use `fix` or `feat` for message title)_. + - `git commit -a -m "feat: total refactor" -m "BREAKING CHANGE: breaks api"`
diff --git a/README.md b/README.md index 958a91d..dfdbaba 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,14 @@
- A GitHub template for Maya Python tools.
-
+ A GitHub template for Maya Python tools by TechArtOps.
Report Bug
ยท
Request Feature