diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 05a9610..c2fe60d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -99,4 +99,5 @@ jobs: run: | git config --global user.name "semantic-release (via Github actions)" git config --global user.email "semantic-release@github-actions" + git config --global core.eol lf semantic-release -v version diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d43307..9b89138 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,20 +14,20 @@ Signed-off-by: Chris Butler <chris.butler@redhat.com> ([`e774d35`](https:/ * lineendings (#28) -* fix(cicd): line-endings - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* fix: Correct line endings - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* fix(cicd): Correct line endings and flit behaviour - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - ---------- - +* fix(cicd): line-endings + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* fix: Correct line endings + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* fix(cicd): Correct line endings and flit behaviour + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +--------- + Signed-off-by: Chris Butler <chris.butler@redhat.com> ([`c36590f`](https://github.com/butler54/mdformat-frontmatter/commit/c36590fa61ba141ba7c95527d1778694060f7d63)) @@ -41,24 +41,24 @@ Signed-off-by: Chris Butler <chris.butler@redhat.com> ([`99e20aa`](https:/ * chore(cicd): Automate tagging process (#24) -* chore(cicd): Automate tagging process - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* chore(lint): formating - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* chore(cicd): Correct workflow so that tag publishingonly happens on a branch push - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* chore(cicd): workflow formatting - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - ---------- - +* chore(cicd): Automate tagging process + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* chore(lint): formating + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* chore(cicd): Correct workflow so that tag publishingonly happens on a branch push + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* chore(cicd): workflow formatting + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +--------- + Signed-off-by: Chris Butler <chris.butler@redhat.com> ([`d78a609`](https://github.com/butler54/mdformat-frontmatter/commit/d78a609563541a6c682af226e7951c76759a2db0)) ### Fix @@ -73,24 +73,24 @@ Signed-off-by: Chris Butler <chris.butler@redhat.com> ([`bacddb9`](https:/ * fix: Cleanup build process with latest tooling versions -* fix: Update build to reflect currently available versions of python - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* chore(deps): Update pre-commit config - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* fix: Update CICD OS testing to latest - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - -* fix: Correct for available python version - -Signed-off-by: Chris Butler <chris.butler@redhat.com> - ---------- - +* fix: Update build to reflect currently available versions of python + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* chore(deps): Update pre-commit config + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* fix: Update CICD OS testing to latest + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +* fix: Correct for available python version + +Signed-off-by: Chris Butler <chris.butler@redhat.com> + +--------- + Signed-off-by: Chris Butler <chris.butler@redhat.com> ([`ab8dea3`](https://github.com/butler54/mdformat-frontmatter/commit/ab8dea336b1069cc603ce65bcfc6d87ce8ee473f)) @@ -108,14 +108,14 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`1dc2186`](https://git * fix: Clean pipelines to ensure no extra releases (#19) -* fix: Clean pipelines to ensure no extra releases - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Clean pipelines to ensure no extra releases - -Signed-off-by: Chris Butler <chris@thebutlers.me> - +* fix: Clean pipelines to ensure no extra releases + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Clean pipelines to ensure no extra releases + +Signed-off-by: Chris Butler <chris@thebutlers.me> + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`106a22f`](https://github.com/butler54/mdformat-frontmatter/commit/106a22f52ef6919ae2e8c5029e5c7e40f529c19d)) @@ -140,32 +140,32 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`99dc805`](https://git * fix: Correct branch targeting for semrelease (#18) -Signed-off-by: Chris Butler <chris@thebutlers.me> - +Signed-off-by: Chris Butler <chris@thebutlers.me> + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`efde524`](https://github.com/butler54/mdformat-frontmatter/commit/efde524e3d8b7f149afd10b6334aadbca749c460)) * fix: update pipelines to reflect version changes in github actions (#16) -* fix: update pipelines to reflect version changes in github actions - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: more version corrections - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Correct flake8 to github location - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: broad sweep of version updates - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: broad sweep of version updates - -Signed-off-by: Chris Butler <chris@thebutlers.me> - +* fix: update pipelines to reflect version changes in github actions + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: more version corrections + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Correct flake8 to github location + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: broad sweep of version updates + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: broad sweep of version updates + +Signed-off-by: Chris Butler <chris@thebutlers.me> + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`b0e1bc0`](https://github.com/butler54/mdformat-frontmatter/commit/b0e1bc028239ab5ba0481cedc8e65561d7198284)) * fix: Implement dependabot support (#15) ([`6e858ad`](https://github.com/butler54/mdformat-frontmatter/commit/6e858ad77c3f115b049510e59c6f28a07e47bfed)) @@ -174,30 +174,30 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`b0e1bc0`](https://git * automate releases (#17) -* fix: Automate releases with python-semantic-release - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* chore: Stage changelog - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* chore: Add missing files - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* chore: Add missing files - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Typo in build pipeline - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: remove dead code - -Signed-off-by: Chris Butler <chris@thebutlers.me> - +* fix: Automate releases with python-semantic-release + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* chore: Stage changelog + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* chore: Add missing files + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* chore: Add missing files + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Typo in build pipeline + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: remove dead code + +Signed-off-by: Chris Butler <chris@thebutlers.me> + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`cfd5a20`](https://github.com/butler54/mdformat-frontmatter/commit/cfd5a20b119a78a4d06aad5e9d0f22da3e3b15b3)) @@ -209,14 +209,14 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`cfd5a20`](https://git * Fix CommonMark compliancy (#13) -* Fix CommonMark compliancy - -* Only catch YAML errors. Wrap fewer lines in try-block - -* FIX: Add missing newline if YAML parse fails - -* Reuse YAML instance - +* Fix CommonMark compliancy + +* Only catch YAML errors. Wrap fewer lines in try-block + +* FIX: Add missing newline if YAML parse fails + +* Reuse YAML instance + Co-authored-by: Taneli Hukkinen <hukkinj1@users.noreply.github.com> ([`a8efd2e`](https://github.com/butler54/mdformat-frontmatter/commit/a8efd2e97480951171bde20c4ebc1fee22d57bd3)) @@ -273,16 +273,16 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`bfee00d`](https://git * Feat/soft error (#9) -* fix:Corrected version tagging - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* feat: Softened errors associated with poorly formed yaml - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Update version tag - +* fix:Corrected version tagging + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* feat: Softened errors associated with poorly formed yaml + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Update version tag + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`2ed18ba`](https://github.com/butler54/mdformat-frontmatter/commit/2ed18ba3f43bfca717c738bfcb603b4af9f86d25)) @@ -292,20 +292,20 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`2ed18ba`](https://git * fix: Extra UT's and some documentation cleanup. (#8) -* fix:Corrected version tagging - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Updated unit tests to cover a few scenarios. - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Updated unit tests to cover a few scenarios. - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Ensure free line after header in precommit test file. - +* fix:Corrected version tagging + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Updated unit tests to cover a few scenarios. + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Updated unit tests to cover a few scenarios. + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Ensure free line after header in precommit test file. + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`5f262ac`](https://github.com/butler54/mdformat-frontmatter/commit/5f262ac335aa1494cfba512b83f90abd60092fda)) @@ -324,24 +324,24 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`6409b13`](https://git * feat:Baseline working implementation of mdformat-frontmatter (#5) -* fix:Remove pre-commit check to allow bootstrapping - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix:Remove pre-commit check to allow bootstrapping - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix:Remove pre-commit check to allow bootstrapping - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* feat: Basic implementation working - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Pre-commit is no longer allowed to fail - +* fix:Remove pre-commit check to allow bootstrapping + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix:Remove pre-commit check to allow bootstrapping + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix:Remove pre-commit check to allow bootstrapping + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* feat: Basic implementation working + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Pre-commit is no longer allowed to fail + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`d3c4d53`](https://github.com/butler54/mdformat-frontmatter/commit/d3c4d53abc2816285ba007e02bf4dae5a0c22825)) @@ -351,48 +351,48 @@ Signed-off-by: Chris Butler <chris@thebutlers.me> ([`d3c4d53`](https://git * fix: Correct issues associated with bootstrapping pre-commit tests (#4) -* fix:Remove pre-commit check to allow bootstrapping - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix:Remove pre-commit check to allow bootstrapping - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix:Remove pre-commit check to allow bootstrapping - +* fix:Remove pre-commit check to allow bootstrapping + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix:Remove pre-commit check to allow bootstrapping + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix:Remove pre-commit check to allow bootstrapping + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`abb6cc3`](https://github.com/butler54/mdformat-frontmatter/commit/abb6cc39c0e9b071f3cdb4848768b62e4884a632)) * fix: Corrected UT behaviour. (#3) -* Basic setup - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* Correct package configuration - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix:package config - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix: Correct UT behavior. - +* Basic setup + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* Correct package configuration + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix:package config + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix: Correct UT behavior. + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`ec97008`](https://github.com/butler54/mdformat-frontmatter/commit/ec97008843a3e0ce89e02829922009be99af2f60)) * fix: Corrected package config. (#2) -* Basic setup - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* Correct package configuration - -Signed-off-by: Chris Butler <chris@thebutlers.me> - -* fix:package config - +* Basic setup + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* Correct package configuration + +Signed-off-by: Chris Butler <chris@thebutlers.me> + +* fix:package config + Signed-off-by: Chris Butler <chris@thebutlers.me> ([`6249934`](https://github.com/butler54/mdformat-frontmatter/commit/6249934e14101bc2e05720c98418ae8e220fd5ad)) * fix: Basic setup (#1) diff --git a/mdformat_frontmatter/__init__.py b/mdformat_frontmatter/__init__.py index 64b3580..ec7e0c0 100644 --- a/mdformat_frontmatter/__init__.py +++ b/mdformat_frontmatter/__init__.py @@ -1,5 +1,5 @@ """An mdformat plugin for parsing / ignoring frontmatter.""" -__version__ = "2.0.1" +__version__ = "2.0.3" from .plugin import RENDERERS, update_mdit # noqa: F401 diff --git a/pyproject.toml b/pyproject.toml index 8aa5289..387cae9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,9 +50,10 @@ known_first_party = ["mdformat_frontmatter", "tests"] profile = "black" [tool.semantic_release] -version_variable = [ +version_variables = [ 'mdformat_frontmatter/__init__.py:__version__' ] branch = 'main' upload_to_pypi = false version_source = 'commit' +newline_sequence = '\n'