Skip to content

Commit 70de324

Browse files
authored
Merge pull request #447 from python-validators/workshop.jovial
chore: update codebase to reflect new username
2 parents 9bc7e82 + 73bdebe commit 70de324

File tree

9 files changed

+110
-129
lines changed

9 files changed

+110
-129
lines changed

.github/workflows/pycqa.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
steps:
1515
# checkout repository
1616
- name: Checkout repository
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818
# set up specific python version
19-
- name: Set up Python v3.9
20-
uses: actions/setup-python@v5
19+
- name: Set up Python v3.10
20+
uses: actions/setup-python@v6
2121
with:
22-
python-version: "3.9"
22+
python-version: "3.10"
2323
# tooling
2424
- name: Install 'tooling' dependencies
2525
run: pip install -r package/requirements.tooling.txt
@@ -32,8 +32,8 @@ jobs:
3232
strategy:
3333
fail-fast: true
3434
matrix:
35-
os: [ubuntu-latest, macos-latest, windows-latest]
36-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
35+
os: [ubuntu-latest]
36+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
3737
runs-on: ${{ matrix.os }}
3838
steps:
3939
# checkout repository again!

.github/workflows/sast.yaml

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,21 @@
11
# Static Application Security Testing
22
name: sast
3+
34
on:
45
workflow_dispatch:
56
push:
67
branches: ["master"]
78
pull_request:
89
branches: ["master"]
9-
schedule:
10-
- cron: "00 00 * * 0"
10+
1111
jobs:
1212
sast:
1313
permissions:
14-
contents: read # for actions/checkout to fetch code
15-
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
16-
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
14+
security-events: write
1715
runs-on: ubuntu-latest
1816
steps:
19-
- uses: actions/checkout@v4
2017
- name: Bandit
21-
uses: mdegis/bandit-action@85fcc340c3b0bf5d86029abb49b9aac916d807b2
18+
uses: PyCQA/bandit-action@v1
2219
with:
23-
# exit with 0, even with results found
24-
# exit_zero: true # optional, default is DEFAULT
25-
# Github token of the repository (automatically created by Github)
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information.
27-
# File or directory to run bandit on
28-
path: ./src/validators # optional, default is .
29-
# Report only issues of a given severity level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)
30-
# level: # optional, default is UNDEFINED
31-
# Report only issues of a given confidence level or higher. Can be LOW, MEDIUM or HIGH. Default is UNDEFINED (everything)
32-
# confidence: # optional, default is UNDEFINED
33-
# 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)
34-
excluded_paths: .github,.pytest_cache,.venv,.vscode,site,tests # optional, default is DEFAULT
35-
# comma-separated list of test IDs to skip
36-
# skips: # optional, default is DEFAULT
37-
# path to a .bandit file that supplies command line arguments
38-
# ini_path: # optional, default is DEFAULT
39-
# https://github.com/marketplace/actions/bandit-scan is ISC licensed, by abirismyname
40-
# https://pypi.org/project/bandit/ is Apache v2.0 licensed, by PyCQA
20+
targets: src/validators
21+
exclude: .github,.pytest_cache,.venv,.vscode,site,tests

CHANGES.md

Lines changed: 82 additions & 82 deletions
Large diffs are not rendered by default.

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $ . ./.venv/bin/activate
4242
# generate documentation
4343
$ python package/export TYPE # where TYPE is any of `doc`, `man` or `web`.
4444

45-
# doc - generates docs found here: https://yozachar.github.io/pyvalidators
45+
# doc - generates docs found here: https://nandgator.github.io/pyvalidators
4646
# man - generates sphinx based manpages
4747
# web - generates sphinx based web docs
4848
```
@@ -83,7 +83,7 @@ $ python -m http.server -d docs/_build/web
8383
### Versioned documentation
8484

8585
1. To preview versioned docs, run `mike serve` (`mike` is a dev dependency).
86-
2. Then (look at <https://yozachar.github.io/pyvalidators/stable/>)
86+
2. Then (look at <https://nandgator.github.io/pyvalidators/stable/>)
8787
- 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`).
8888
- to publish bleeding-edge docs run `mike deploy -p -u dev master` after checking out to the `master` branch.
8989
3. This will deploy docs to the `gh-pages` branch (see: <https://github.com/python-validators/validators/tree/gh-pages/>)

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ True
2424

2525
## Resources
2626

27-
<!-- Backup documentation URL : https://yozachar.github.io/pyvalidators/ -->
27+
<!-- Backup documentation URL : https://nandgator.github.io/pyvalidators/ -->
2828
<!-- Original documentation URL : https://python-validators.github.io/validators/ -->
2929

30-
- [Documentation](https://yozachar.github.io/pyvalidators)
30+
- [Documentation](https://nandgator.github.io/pyvalidators)
3131
- [Bugtracker](https://github.com/python-validators/validators/issues)
3232
- [Security](https://github.com/python-validators/validators/blob/master/SECURITY.md)
3333
- [Code](https://github.com/python-validators/validators/)
@@ -43,8 +43,8 @@ True
4343
[sast-link]: https://github.com/python-validators/validators/actions/workflows/sast.yaml
4444
[pycqa-badge]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml/badge.svg
4545
[pycqa-link]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml
46-
[docs-badge]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
47-
[docs-link]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment
46+
[docs-badge]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
47+
[docs-link]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment
4848
[vs-badge]: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue
4949
[vs-link]: https://pypi.python.org/pypi/validators/
5050
[dw-badge]: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ True
2424

2525
## Resources
2626

27-
<!-- Backup documentation URL : https://yozachar.github.io/pyvalidators/ -->
27+
<!-- Backup documentation URL : https://nandgator.github.io/pyvalidators/ -->
2828
<!-- Original documentation URL : https://python-validators.github.io/validators/ -->
2929

30-
- [Documentation](https://yozachar.github.io/pyvalidators)
30+
- [Documentation](https://nandgator.github.io/pyvalidators)
3131
- [Bugtracker](https://github.com/python-validators/validators/issues)
3232
- [Security](https://github.com/python-validators/validators/blob/master/SECURITY.md)
3333
- [Code](https://github.com/python-validators/validators/)
@@ -43,8 +43,8 @@ True
4343
[sast-link]: https://github.com/python-validators/validators/actions/workflows/sast.yaml
4444
[pycqa-badge]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml/badge.svg
4545
[pycqa-link]: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml
46-
[docs-badge]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
47-
[docs-link]: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment
46+
[docs-badge]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
47+
[docs-link]: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment
4848
[vs-badge]: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue
4949
[vs-link]: https://pypi.python.org/pypi/validators/
5050
[dw-badge]: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ Resources
3030

3131
.. raw:: html
3232

33-
<!-- Backup documentation URL : https://yozachar.github.io/pyvalidators/ -->
33+
<!-- Backup documentation URL : https://nandgator.github.io/pyvalidators/ -->
3434

3535
.. raw:: html
3636

3737
<!-- Original documentation URL : https://python-validators.github.io/validators/ -->
3838

39-
- `Documentation <https://yozachar.github.io/pyvalidators>`__
39+
- `Documentation <https://nandgator.github.io/pyvalidators>`__
4040
- `Bugtracker <https://github.com/python-validators/validators/issues>`__
4141
- `Security <https://github.com/python-validators/validators/blob/master/SECURITY.md>`__
4242
- `Code <https://github.com/python-validators/validators/>`__
@@ -63,8 +63,8 @@ Resources
6363
:target: https://github.com/python-validators/validators/actions/workflows/pycqa.yaml
6464
.. |SAST| image:: https://github.com/python-validators/validators/actions/workflows/sast.yaml/badge.svg
6565
:target: https://github.com/python-validators/validators/actions/workflows/sast.yaml
66-
.. |Docs| image:: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
67-
:target: https://github.com/yozachar/pyvalidators/actions/workflows/pages/pages-build-deployment
66+
.. |Docs| image:: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment/badge.svg
67+
:target: https://github.com/nandgator/pyvalidators/actions/workflows/pages/pages-build-deployment
6868
.. |Version| image:: https://img.shields.io/pypi/v/validators?logo=pypi&logoColor=white&label=version&color=blue
6969
:target: https://pypi.python.org/pypi/validators/
7070
.. |Downloads| image:: https://img.shields.io/pypi/dm/validators?logo=pypi&logoColor=white&color=blue

mkdocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
site_name: "validators"
22
site_description: "Automatic documentation from sources, for MkDocs."
3-
site_url: "https://yozachar.github.io/pyvalidators/"
3+
site_url: "https://nandgator.github.io/pyvalidators/"
44
repo_url: "https://github.com/python-validators/validators/"
55
edit_uri: "edit/master/docs/"
66
repo_name: "validators/validators"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = []
3939

4040
[project.urls]
4141
Homepage = "https://python-validators.github.io/validators"
42-
Documentation = "https://yozachar.github.io/pyvalidators"
42+
Documentation = "https://nandgator.github.io/pyvalidators"
4343
Repository = "https://github.com/python-validators/validators"
4444
Changelog = "https://github.com/python-validators/validators/blob/master/CHANGES.md"
4545

0 commit comments

Comments
 (0)