Skip to content

Commit de4948f

Browse files
authored
Merge pull request #424 from yozachar/workshop
chore: prepare for new release
2 parents 8691cea + 6d8a1ab commit de4948f

File tree

16 files changed

+39
-52
lines changed

16 files changed

+39
-52
lines changed

.github/workflows/pycqa.yaml

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ cython_debug/
172172
# rtx/mise
173173
.rtx.toml
174174
.mise.toml
175+
mise.toml
175176

176177
# ruff
177178
.ruff_cache

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013 - 2024 Konsta Vesterinen
3+
Copyright (c) 2013 - 2025 Konsta Vesterinen
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Then,
1717

1818
```python
1919
>>> import validators
20-
>>>
20+
>>>
2121
>>> validators.email('[email protected]')
2222
True
2323
```
@@ -36,7 +36,7 @@ True
3636

3737
---
3838

39-
> **_Python 3.8 [reaches EOL in](https://endoflife.date/python) October 2024._**
39+
> **_Python 3.9 [reaches EOL in](https://endoflife.date/python) October 2025._**
4040
4141
<!-- Links -->
4242
[sast-badge]: https://github.com/python-validators/validators/actions/workflows/sast.yaml/badge.svg

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
| Version | Supported |
66
| ---------- | ------------------ |
7-
| `>=0.33.0` | :white_check_mark: |
7+
| `>=0.35.0` | :white_check_mark: |
88

99
## Reporting a Vulnerability
1010

docs/api/card.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
::: validators.card.discover
77
::: validators.card.jcb
88
::: validators.card.mastercard
9+
::: validators.card.mir
910
::: validators.card.unionpay
1011
::: validators.card.visa

docs/api/card.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ card
88
.. autofunction:: discover
99
.. autofunction:: jcb
1010
.. autofunction:: mastercard
11+
.. autofunction:: mir
1112
.. autofunction:: unionpay
1213
.. autofunction:: visa

docs/api/i18n.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@
1010
::: validators.i18n.fr_ssn
1111
::: validators.i18n.ind_aadhar
1212
::: validators.i18n.ind_pan
13+
::: validators.i18n.ru_inn

docs/api/i18n.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ i18n
1212
.. autofunction:: fr_ssn
1313
.. autofunction:: ind_aadhar
1414
.. autofunction:: ind_pan
15+
.. autofunction:: ru_inn

docs/index.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ require defining a schema or form. I wanted to create a simple validation
99
library where validating a simple value does not require defining a form or a
1010
schema.
1111

12+
```shell
13+
pip install validators
14+
```
15+
16+
Then,
17+
1218
```python
1319
>>> import validators
14-
>>>
20+
>>>
1521
>>> validators.email('[email protected]')
1622
True
1723
```
@@ -30,7 +36,7 @@ True
3036

3137
---
3238

33-
> **_Python 3.8 [reaches EOL in](https://endoflife.date/python) October 2024._**
39+
> **_Python 3.9 [reaches EOL in](https://endoflife.date/python) October 2025._**
3440
3541
<!-- Links -->
3642
[sast-badge]: https://github.com/python-validators/validators/actions/workflows/sast.yaml/badge.svg

0 commit comments

Comments
 (0)