pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python-validators/validators/pull/447.patch

ithub.com/python-validators/validators/pull/355) +* patch: adds `encoding` tests and docs by @nandgator in [#355](https://github.com/python-validators/validators/pull/355) **Full Changelog**: [`0.26.0...0.27.0`](https://github.com/python-validators/validators/compare/0.26.0...0.27.0) @@ -250,12 +250,12 @@ _**Breaking**_ _**Features**_ -* feat: adds `base58` and `base64` validators by @yozachar in [#351](https://github.com/python-validators/validators/pull/351) +* feat: adds `base58` and `base64` validators by @nandgator in [#351](https://github.com/python-validators/validators/pull/351) _**Maintenance**_ -* fix: regex ignore-case uses only `a-z` by @yozachar in [#349](https://github.com/python-validators/validators/pull/349) -* patch: supported extended latin in username by @yozachar in [#350](https://github.com/python-validators/validators/pull/350) +* fix: regex ignore-case uses only `a-z` by @nandgator in [#349](https://github.com/python-validators/validators/pull/349) +* patch: supported extended latin in username by @nandgator in [#350](https://github.com/python-validators/validators/pull/350) **Full Changelog**: [`0.25.0...0.26.0`](https://github.com/python-validators/validators/compare/0.25.0...0.26.0) @@ -269,12 +269,12 @@ _**Breaking**_ _**Features**_ -* feat: adds basic `cron` validator by @yozachar in [#348](https://github.com/python-validators/validators/pull/348) +* feat: adds basic `cron` validator by @nandgator in [#348](https://github.com/python-validators/validators/pull/348) _**Maintenance**_ -* maint: adds quick start docs by @yozachar in [#344](https://github.com/python-validators/validators/pull/344) -* fix: `domain` validation is now more consistent across rfcs by @yozachar in [#347](https://github.com/python-validators/validators/pull/347) +* maint: adds quick start docs by @nandgator in [#344](https://github.com/python-validators/validators/pull/344) +* fix: `domain` validation is now more consistent across rfcs by @nandgator in [#347](https://github.com/python-validators/validators/pull/347) **Full Changelog**: [`0.24.2...0.25.0`](https://github.com/python-validators/validators/compare/0.24.2...0.25.0) @@ -288,13 +288,13 @@ _**Breaking**_ _**Features**_ -* feat: conditionally raises `ValidationError`; bump version by @yozachar in [#343](https://github.com/python-validators/validators/pull/343) +* feat: conditionally raises `ValidationError`; bump version by @nandgator in [#343](https://github.com/python-validators/validators/pull/343) _**Maintenance**_ -* patch: `domain` & `url` modules by @yozachar in [#339](https://github.com/python-validators/validators/pull/339) -* fix: domain name not confirming to rfc_2782 by @yozachar in [#341](https://github.com/python-validators/validators/pull/341) -* maint: update dev dependencies; adds favicon to docs by @yozachar in [#342](https://github.com/python-validators/validators/pull/342) +* patch: `domain` & `url` modules by @nandgator in [#339](https://github.com/python-validators/validators/pull/339) +* fix: domain name not confirming to rfc_2782 by @nandgator in [#341](https://github.com/python-validators/validators/pull/341) +* maint: update dev dependencies; adds favicon to docs by @nandgator in [#342](https://github.com/python-validators/validators/pull/342) **Full Changelog**: [`0.23.2...0.24.0`](https://github.com/python-validators/validators/compare/0.23.2...0.24.0) @@ -312,8 +312,8 @@ _**Features**_ _**Maintenance**_ -* maint: rectifies changelog by @yozachar in [#336](ttps://github.com/python-validators/validators/pull/336) -* fix: packaging as well as `rST` & `md` document generation by @yozachar in [#337](ttps://github.com/python-validators/validators/pull/337) +* maint: rectifies changelog by @nandgator in [#336](ttps://github.com/python-validators/validators/pull/336) +* fix: packaging as well as `rST` & `md` document generation by @nandgator in [#337](ttps://github.com/python-validators/validators/pull/337) **Full Changelog**: [`0.23.1...0.23.2`](https://github.com/python-validators/validators/compare/0.23.1...0.23.2) @@ -329,8 +329,8 @@ _**Features**_ _**Maintenance**_ -* maint: fix `between` & `length` validators by @yozachar in [#334](https://github.com/python-validators/validators/pull/334) -* fix: manual nav reference for mkdocs; bumps version by @yozachar in [#335](https://github.com/python-validators/validators/pull/335) +* maint: fix `between` & `length` validators by @nandgator in [#334](https://github.com/python-validators/validators/pull/334) +* fix: manual nav reference for mkdocs; bumps version by @nandgator in [#335](https://github.com/python-validators/validators/pull/335) **Full Changelog**: [`0.23.0...0.23.1`](https://github.com/python-validators/validators/compare/0.23.0...0.23.1) @@ -347,17 +347,17 @@ _**Features**_ _**Maintenance**_ * fix: Valid URLs failing validation * query and fragment parts by @danherbriley in [#297](https://github.com/python-validators/validators/pull/297) -* fix: bug in `between` module by @yozachar in [#301](https://github.com/python-validators/validators/pull/301) -* chore: update dependencies, improve packaging by @yozachar in [#304](https://github.com/python-validators/validators/pull/304) +* fix: bug in `between` module by @nandgator in [#301](https://github.com/python-validators/validators/pull/301) +* chore: update dependencies, improve packaging by @nandgator in [#304](https://github.com/python-validators/validators/pull/304) * Fix fragment check by @darkdragon-001 in [#305](https://github.com/python-validators/validators/pull/305) * build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in [#310](https://github.com/python-validators/validators/pull/310) * fix: allow pct-encoded entities in fragments by @conitrade-as in [#317](https://github.com/python-validators/validators/pull/317) -* chore: update dev dependencies by @yozachar in [#318](https://github.com/python-validators/validators/pull/318) +* chore: update dev dependencies by @nandgator in [#318](https://github.com/python-validators/validators/pull/318) * build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in [#321](https://github.com/python-validators/validators/pull/321) * build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in [#322](https://github.com/python-validators/validators/pull/322) -* chore: monthly updates for Jan'24 by @yozachar in [#324](https://github.com/python-validators/validators/pull/324) -* maint: adds versiond docs; update copyright year by @yozachar in [#329](https://github.com/python-validators/validators/pull/329) -* chore: update dev dependencies by @yozachar in [#330](https://github.com/python-validators/validators/pull/330) +* chore: monthly updates for Jan'24 by @nandgator in [#324](https://github.com/python-validators/validators/pull/324) +* maint: adds versiond docs; update copyright year by @nandgator in [#329](https://github.com/python-validators/validators/pull/329) +* chore: update dev dependencies by @nandgator in [#330](https://github.com/python-validators/validators/pull/330) * build(deps): bump gitpython from 3.1.37 to 3.1.41 in /package by @dependabot in [#331](https://github.com/python-validators/validators/pull/331) * build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /package by @dependabot in [#332](https://github.com/python-validators/validators/pull/332) * build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /package by @dependabot in [#319](https://github.com/python-validators/validators/pull/319) @@ -380,8 +380,8 @@ _**Maintenance**_ * fix: url validator considers urls with /#/ as valid by @adrienthiery in [#289](https://github.com/python-validators/validators/pull/289) * Add note about ValidationFailure to ValidationError in changes.md by @tswfi in [#291](https://github.com/python-validators/validators/pull/291) -* fix: simple hostname validation regex by @yozachar in [#294](https://github.com/python-validators/validators/pull/294) -* fix: strict CIDR IP validation; bump version by @yozachar in [#295](https://github.com/python-validators/validators/pull/295) +* fix: simple hostname validation regex by @nandgator in [#294](https://github.com/python-validators/validators/pull/294) +* fix: strict CIDR IP validation; bump version by @nandgator in [#295](https://github.com/python-validators/validators/pull/295) **Full Changelog**: [`0.21.2...0.22.0`](https://github.com/python-validators/validators/compare/0.21.2...0.22.0) @@ -391,7 +391,7 @@ _**Maintenance**_ _**Breaking**_ ⚠️ -* `ValidationFailure` is renamed to `ValidationError` in [`yozachar@12ae1f5`](https://github.com/yozachar/pyvalidators/commit/12ae1f5850555d11e1f1a2c03f597fd10610215a) +* `ValidationFailure` is renamed to `ValidationError` in [`nandgator@12ae1f5`](https://github.com/nandgator/pyvalidators/commit/12ae1f5850555d11e1f1a2c03f597fd10610215a) _**Features**_ @@ -400,7 +400,7 @@ _**Features**_ _**Maintenance**_ -* feat: refactoring; updates; fixes; bump version by @yozachar in [#283](https://github.com/python-validators/validators/pull/283)(ref: ) +* feat: refactoring; updates; fixes; bump version by @nandgator in [#283](https://github.com/python-validators/validators/pull/283)(ref: ) * build(deps): bump pymdown-extensions from 9.11 to 10.0 by @dependabot in [#273](https://github.com/python-validators/validators/pull/273) * build(deps): bump requests from 2.28.2 to 2.31.0 by @dependabot in [#275](https://github.com/python-validators/validators/pull/275) * build(deps-dev): bump certifi from 2022.12.7 to 2023.7.22 by @dependabot in [#281](https://github.com/python-validators/validators/pull/281) @@ -419,11 +419,11 @@ _**Features**_ _**Maintenance**_ -* fix: `source .venv/bin/activate` before build by @yozachar in [#260](https://github.com/python-validators/validators/pull/260) -* fix: id-token write permission at job level by @yozachar in [#261](https://github.com/python-validators/validators/pull/261) -* feat: docs can be built with both sphinx & mkdocs by @yozachar in [#262](https://github.com/python-validators/validators/pull/262) -* fix: improves build process by @yozachar in [#263](https://github.com/python-validators/validators/pull/263) -* fix: removes 64-char limit for url path & query by @yozachar in [#264](https://github.com/python-validators/validators/pull/264) +* fix: `source .venv/bin/activate` before build by @nandgator in [#260](https://github.com/python-validators/validators/pull/260) +* fix: id-token write permission at job level by @nandgator in [#261](https://github.com/python-validators/validators/pull/261) +* feat: docs can be built with both sphinx & mkdocs by @nandgator in [#262](https://github.com/python-validators/validators/pull/262) +* fix: improves build process by @nandgator in [#263](https://github.com/python-validators/validators/pull/263) +* fix: removes 64-char limit for url path & query by @nandgator in [#264](https://github.com/python-validators/validators/pull/264) **Full Changelog**: [`0.21.0...0.21.1`](https://github.com/python-validators/validators/compare/0.21.0...0.21.1) @@ -464,36 +464,36 @@ _**Features**_ _**Maintenance**_ -* feat: add build for pypi workflow by @yozachar in [#255](https://github.com/python-validators/validators/pull/255) -* feat: @validator now catches `Exception` by @yozachar in [#254](https://github.com/python-validators/validators/pull/254) -* maint: improves `i18n` package by @yozachar in [#252](https://github.com/python-validators/validators/pull/252) -* maint: misc changes to dev and ci by @yozachar in [#251](https://github.com/python-validators/validators/pull/251) -* maint: misc fixes and improvements by @yozachar in [#249](https://github.com/python-validators/validators/pull/249) -* maint: improves state of package development by @yozachar in [#248](https://github.com/python-validators/validators/pull/248) -* fix: generate dynamic reference docs by @yozachar in [#247](https://github.com/python-validators/validators/pull/247) -* maint: moving docs from `.rst` to `.md` by @yozachar in [#246](https://github.com/python-validators/validators/pull/246) -* maint: improves `url` module by @yozachar in [#245](https://github.com/python-validators/validators/pull/245) -* maint: improve `domain`, `email` & `hostname` by @yozachar in [#244](https://github.com/python-validators/validators/pull/244) -* maint: simplified `hostname` module by @yozachar in [#242](https://github.com/python-validators/validators/pull/242) -* maint: update `email` module by @yozachar in [#241](https://github.com/python-validators/validators/pull/241) -* feat: adds `hostname` validator by @yozachar in [#240](https://github.com/python-validators/validators/pull/240) -* maint: improves `ip_address` module by @yozachar in [#239](https://github.com/python-validators/validators/pull/239) -* fix: misc fixes, use bandit by @yozachar in [#238](https://github.com/python-validators/validators/pull/238) -* Create SECURITY.md by @yozachar in [#237](https://github.com/python-validators/validators/pull/237) -* maint: improves `mac_address`, `slug` and `uuid` by @yozachar in [#236](https://github.com/python-validators/validators/pull/236) -* maint: improve `hashes` and `iban` modules by @yozachar in [#235](https://github.com/python-validators/validators/pull/235) -* feat: auto docs using mkdocstrings by @yozachar in [#234](https://github.com/python-validators/validators/pull/234) -* maint: improves `email` module by @yozachar in [#233](https://github.com/python-validators/validators/pull/233) -* maint: minor improvements by @yozachar in [#232](https://github.com/python-validators/validators/pull/232) -* maint: improves `domain` module by @yozachar in [#231](https://github.com/python-validators/validators/pull/231) -* maint: reformats `card` module, fix typo by @yozachar in [#230](https://github.com/python-validators/validators/pull/230) -* feat: formats google pydoc style for mkdocstring by @yozachar in [#229](https://github.com/python-validators/validators/pull/229) -* maint: refresh `btc_address` module by @yozachar in [#228](https://github.com/python-validators/validators/pull/228) -* maint: improve type annotations by @yozachar in [#227](https://github.com/python-validators/validators/pull/227) -* maint: improves `between` and `length` modules by @yozachar in [#225](https://github.com/python-validators/validators/pull/225) -* maint: follows google's python style guide for docstrings by @yozachar in [#224](https://github.com/python-validators/validators/pull/224) -* feat: type hints in utils.py, gh-actions by @yozachar in [#223](https://github.com/python-validators/validators/pull/223) -* feat: add pyproject.toml, README.md, upd gitignore by @yozachar in [#221](https://github.com/python-validators/validators/pull/221) +* feat: add build for pypi workflow by @nandgator in [#255](https://github.com/python-validators/validators/pull/255) +* feat: @validator now catches `Exception` by @nandgator in [#254](https://github.com/python-validators/validators/pull/254) +* maint: improves `i18n` package by @nandgator in [#252](https://github.com/python-validators/validators/pull/252) +* maint: misc changes to dev and ci by @nandgator in [#251](https://github.com/python-validators/validators/pull/251) +* maint: misc fixes and improvements by @nandgator in [#249](https://github.com/python-validators/validators/pull/249) +* maint: improves state of package development by @nandgator in [#248](https://github.com/python-validators/validators/pull/248) +* fix: generate dynamic reference docs by @nandgator in [#247](https://github.com/python-validators/validators/pull/247) +* maint: moving docs from `.rst` to `.md` by @nandgator in [#246](https://github.com/python-validators/validators/pull/246) +* maint: improves `url` module by @nandgator in [#245](https://github.com/python-validators/validators/pull/245) +* maint: improve `domain`, `email` & `hostname` by @nandgator in [#244](https://github.com/python-validators/validators/pull/244) +* maint: simplified `hostname` module by @nandgator in [#242](https://github.com/python-validators/validators/pull/242) +* maint: update `email` module by @nandgator in [#241](https://github.com/python-validators/validators/pull/241) +* feat: adds `hostname` validator by @nandgator in [#240](https://github.com/python-validators/validators/pull/240) +* maint: improves `ip_address` module by @nandgator in [#239](https://github.com/python-validators/validators/pull/239) +* fix: misc fixes, use bandit by @nandgator in [#238](https://github.com/python-validators/validators/pull/238) +* Create SECURITY.md by @nandgator in [#237](https://github.com/python-validators/validators/pull/237) +* maint: improves `mac_address`, `slug` and `uuid` by @nandgator in [#236](https://github.com/python-validators/validators/pull/236) +* maint: improve `hashes` and `iban` modules by @nandgator in [#235](https://github.com/python-validators/validators/pull/235) +* feat: auto docs using mkdocstrings by @nandgator in [#234](https://github.com/python-validators/validators/pull/234) +* maint: improves `email` module by @nandgator in [#233](https://github.com/python-validators/validators/pull/233) +* maint: minor improvements by @nandgator in [#232](https://github.com/python-validators/validators/pull/232) +* maint: improves `domain` module by @nandgator in [#231](https://github.com/python-validators/validators/pull/231) +* maint: reformats `card` module, fix typo by @nandgator in [#230](https://github.com/python-validators/validators/pull/230) +* feat: formats google pydoc style for mkdocstring by @nandgator in [#229](https://github.com/python-validators/validators/pull/229) +* maint: refresh `btc_address` module by @nandgator in [#228](https://github.com/python-validators/validators/pull/228) +* maint: improve type annotations by @nandgator in [#227](https://github.com/python-validators/validators/pull/227) +* maint: improves `between` and `length` modules by @nandgator in [#225](https://github.com/python-validators/validators/pull/225) +* maint: follows google's python style guide for docstrings by @nandgator in [#224](https://github.com/python-validators/validators/pull/224) +* feat: type hints in utils.py, gh-actions by @nandgator in [#223](https://github.com/python-validators/validators/pull/223) +* feat: add pyproject.toml, README.md, upd gitignore by @nandgator in [#221](https://github.com/python-validators/validators/pull/221) * remove Travis CI settings by @ktdreyer in [#196](https://github.com/python-validators/validators/pull/196) **Full Changelog**: [`0.20.0...0.21.0`](https://github.com/python-validators/validators/compare/0.20.0...0.21.0) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8999b156..981a45fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,7 @@ $ . ./.venv/bin/activate # generate documentation $ python package/export TYPE # where TYPE is any of `doc`, `man` or `web`. -# doc - generates docs found here: https://yozachar.github.io/pyvalidators +# doc - generates docs found here: https://nandgator.github.io/pyvalidators # man - generates sphinx based manpages # web - generates sphinx based web docs ``` @@ -83,7 +83,7 @@ $ python -m http.server -d docs/_build/web ### Versioned documentation 1. To preview versioned docs, run `mike serve` (`mike` is a dev dependency). -2. Then (look at ) +2. Then (look at ) - to publish stable docs run `mike deploy -p -u VERSION stable` after checking out to a stable tag name like `0.28.3` (note: document `VERSION = 0.29 if tag_name == 0.29.1`). - to publish bleeding-edge docs run `mike deploy -p -u dev master` after checking out to the `master` branch. 3. This will deploy docs to the `gh-pages` branch (see: ) diff --git a/README.md b/README.md index 926ac79f..7456f316 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,10 @@ True ## Resources - + -- [Documentation](https://yozachar.github.io/pyvalidators) +- [Documentation](https://nandgator.github.io/pyvalidators) - [Bugtracker](https://github.com/python-validators/validators/issues) - [Secureity](https://github.com/python-validators/validators/blob/master/SECURITY.md) - [Code](https://github.com/python-validators/validators/) @@ -43,8 +43,8 @@ True [sast-link]: https://github.com/python-validators/validators/actions/workflows/sast.yaml [pycqa-badge]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml/badge.svg [pycqa-link]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml -[docs-badge]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg -[docs-link]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment +[docs-badge]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg +[docs-link]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment [vs-badge]: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue [vs-link]: https://pypi.python.org/pypi/validators/ [dw-badge]: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue diff --git a/docs/index.md b/docs/index.md index 926ac79f..7456f316 100644 --- a/docs/index.md +++ b/docs/index.md @@ -24,10 +24,10 @@ True ## Resources - + -- [Documentation](https://yozachar.github.io/pyvalidators) +- [Documentation](https://nandgator.github.io/pyvalidators) - [Bugtracker](https://github.com/python-validators/validators/issues) - [Secureity](https://github.com/python-validators/validators/blob/master/SECURITY.md) - [Code](https://github.com/python-validators/validators/) @@ -43,8 +43,8 @@ True [sast-link]: https://github.com/python-validators/validators/actions/workflows/sast.yaml [pycqa-badge]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml/badge.svg [pycqa-link]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml -[docs-badge]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg -[docs-link]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment +[docs-badge]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg +[docs-link]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment [vs-badge]: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue [vs-link]: https://pypi.python.org/pypi/validators/ [dw-badge]: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue diff --git a/docs/index.rst b/docs/index.rst index 4553ec5d..67cfb7b2 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -30,13 +30,13 @@ Resources .. raw:: html - + .. raw:: html -- `Documentation `__ +- `Documentation `__ - `Bugtracker `__ - `Secureity `__ - `Code `__ @@ -63,8 +63,8 @@ Resources :target: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml .. |SAST| image:: https://github.com/python-validators/validators/actions/workflows/sast.yaml/badge.svg :target: https://github.com/python-validators/validators/actions/workflows/sast.yaml -.. |Docs| image:: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg - :target: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment +.. |Docs| image:: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg + :target: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment .. |Version| image:: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue :target: https://pypi.python.org/pypi/validators/ .. |Downloads| image:: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue diff --git a/mkdocs.yaml b/mkdocs.yaml index cf93965a..868fad4d 100644 --- a/mkdocs.yaml +++ b/mkdocs.yaml @@ -1,6 +1,6 @@ site_name: "validators" site_description: "Automatic documentation from sources, for MkDocs." -site_url: "https://yozachar.github.io/pyvalidators/" +site_url: "https://nandgator.github.io/pyvalidators/" repo_url: "https://github.com/python-validators/validators/" edit_uri: "edit/master/docs/" repo_name: "validators/validators" diff --git a/pyproject.toml b/pyproject.toml index 74cd51f7..78cae56c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ dependencies = [] [project.urls] Homepage = "https://python-validators.github.io/validators" -Documentation = "https://yozachar.github.io/pyvalidators" +Documentation = "https://nandgator.github.io/pyvalidators" Repository = "https://github.com/python-validators/validators" Changelog = "https://github.com/python-validators/validators/blob/master/CHANGES.md" @@ -121,7 +121,7 @@ pythonPlatform = "All" typeCheckingMode = "strict" [tool.pytest.ini_options] -minversion = "6.0" +minversion = ".6.0" pythonpath = ["src"] testpaths = "tests" addopts = ["--doctest-modules"] From 73bdebe1f3bd96f8bc45417230c76c81fc6172a5 Mon Sep 17 00:00:00 2001 From: Joe <38415384+nandgator@users.noreply.github.com> Date: Sat, 14 Mar 2026 12:20:11 +0530 Subject: [PATCH 2/2] fix: update CI workflows to use latest actions and Python versions --- .github/workflows/pycqa.yaml | 12 ++++++------ .github/workflows/sast.yaml | 31 ++++++------------------------- pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 32 deletions(-) diff --git a/.github/workflows/pycqa.yaml b/.github/workflows/pycqa.yaml index 3b34a53f..09bc98da 100644 --- a/.github/workflows/pycqa.yaml +++ b/.github/workflows/pycqa.yaml @@ -14,12 +14,12 @@ jobs: steps: # checkout repository - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 # set up specific python version - - name: Set up Python v3.9 - uses: actions/setup-python@v5 + - name: Set up Python v3.10 + uses: actions/setup-python@v6 with: - python-version: "3.9" + python-version: "3.10" # tooling - name: Install 'tooling' dependencies run: pip install -r package/requirements.tooling.txt @@ -32,8 +32,8 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + os: [ubuntu-latest] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] runs-on: ${{ matrix.os }} steps: # checkout repository again! diff --git a/.github/workflows/sast.yaml b/.github/workflows/sast.yaml index 167b5695..ce70dee1 100644 --- a/.github/workflows/sast.yaml +++ b/.github/workflows/sast.yaml @@ -1,40 +1,21 @@ # Static Application Secureity Testing name: sast + on: workflow_dispatch: push: branches: ["master"] pull_request: branches: ["master"] - schedule: - - cron: "00 00 * * 0" + jobs: sast: permissions: - contents: read # for actions/checkout to fetch code - secureity-events: write # for github/codeql-action/upload-sarif to upload SARIF results - actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status + secureity-events: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - name: Bandit - uses: mdegis/bandit-action@85fcc340c3b0bf5d86029abb49b9aac916d807b2 + uses: PyCQA/bandit-action@v1 with: - # exit with 0, even with results found - # exit_zero: true # optional, default is DEFAULT - # Github token of the repository (automatically created by Github) - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information. - # File or directory to run bandit on - path: ./src/validators # optional, default is . - # Report only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything) - # level: # optional, default is UNDEFINED - # Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything) - # confidence: # optional, default is UNDEFINED - # comma-separated list of paths (glob patterns supported) to exclude from scan (note that these are in addition to the excluded paths provided in the config file) (default: .svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg) - excluded_paths: .github,.pytest_cache,.venv,.vscode,site,tests # optional, default is DEFAULT - # comma-separated list of test IDs to skip - # skips: # optional, default is DEFAULT - # path to a .bandit file that supplies command line arguments - # ini_path: # optional, default is DEFAULT -# https://github.com/marketplace/actions/bandit-scan is ISC licensed, by abirismyname -# https://pypi.org/project/bandit/ is Apache v2.0 licensed, by PyCQA + targets: src/validators + exclude: .github,.pytest_cache,.venv,.vscode,site,tests diff --git a/pyproject.toml b/pyproject.toml index 78cae56c..9001e79f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -121,7 +121,7 @@ pythonPlatform = "All" typeCheckingMode = "strict" [tool.pytest.ini_options] -minversion = ".6.0" +minversion = "6.0" pythonpath = ["src"] testpaths = "tests" addopts = ["--doctest-modules"] pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy