diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d667282..661ee29 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,4 +2,4 @@ # all maintainers are default-reviewers of new pull requests. -* @jkowalleck \ No newline at end of file +* @jkowalleck diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 7050ec9..eaa7364 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -104,4 +104,4 @@ jobs: - name: Install project run: pip install --user -e ".[testing]" - name: Run Tests - run: python -m pytest tests \ No newline at end of file + run: python -m pytest tests diff --git a/.gitignore b/.gitignore index 473a0b7..ad822f3 100644 --- a/.gitignore +++ b/.gitignore @@ -199,9 +199,9 @@ cython_debug/ .abstra/ # Visual Studio Code -# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore +# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore -# and can be added to the global gitignore or merged into this file. However, if you prefer, +# and can be added to the global gitignore or merged into this file. However, if you prefer, # you could uncomment the following to ignore the entire vscode folder .vscode/ # Temporary file for partial code execution @@ -224,6 +224,4 @@ __marimo__/ -#### CUSTOM - - +#### CUSTOM diff --git a/.mypy.ini b/.mypy.ini index 13fb917..8a7ab72 100644 --- a/.mypy.ini +++ b/.mypy.ini @@ -31,4 +31,4 @@ no_implicit_reexport = True ignore_missing_imports = True [mypy-tests.*] -disallow_untyped_decorators = False \ No newline at end of file +disallow_untyped_decorators = False diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..c5f12d0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,11 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: trailing-whitespace + args: [--markdown-linebreak-ext=md] + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files diff --git a/CHANGELOG.md b/CHANGELOG.md index 067eb8d..2e711b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,14 +18,14 @@ All notable changes to this project will be documented in this file. * Refactor * Marked exported constants/lazy globals as `Final` for downstream users (via [#69]) * Docs - * Fixed docstring of `T_SYNTAX_PARSER_TERM` (via [#70]) + * Fixed docstring of `T_SYNTAX_PARSER_TERM` (via [#70]) [#69]: https://github.com/python-jsonschema/rfc3987-syntax2/pull/69 [#70]: https://github.com/python-jsonschema/rfc3987-syntax2/pull/70 ## v1.3.1 - 2026-07-23 -* Docs +* Docs * Added and improved package docs (via [#67]) [#67]: https://github.com/python-jsonschema/rfc3987-syntax2/pull/67 diff --git a/docs/conf.py b/docs/conf.py index 0850117..9d1db00 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,4 +51,3 @@ # a list of builtin themes. # html_theme = 'sphinx_rtd_theme' - diff --git a/src/rfc3987_syntax2/py.typed b/src/rfc3987_syntax2/py.typed index 161a597..b68e0b2 100644 --- a/src/rfc3987_syntax2/py.typed +++ b/src/rfc3987_syntax2/py.typed @@ -1 +1 @@ -# see https://peps.python.org/pep-0561/ \ No newline at end of file +# see https://peps.python.org/pep-0561/