-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #301 from joe733/workshop
fix: bug in `between` module
- Loading branch information
Showing
10 changed files
with
492 additions
and
668 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -132,6 +132,7 @@ venv/ | |
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
.venv.dev/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
#################### | ||
|
||
[build-system] | ||
requires = ["setuptools>=61"] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
#################### | ||
|
@@ -12,7 +12,6 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "validators" | ||
version = "0.22.0" | ||
description = "Python Data Validation for Humans™" | ||
authors = [{ name = "Konsta Vesterinen", email = "[email protected]" }] | ||
license = { text = "MIT" } | ||
|
@@ -34,6 +33,7 @@ classifiers = [ | |
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
requires-python = ">=3.8" | ||
dynamic = ["version"] | ||
dependencies = [] | ||
|
||
[project.urls] | ||
|
@@ -46,22 +46,28 @@ Changelog = "https://github.com/python-validators/validators/blob/master/CHANGES | |
# Optional Dependencies # | ||
########################### | ||
|
||
[project.optional-dependencies] | ||
# [project.optional-dependencies] | ||
|
||
############################## | ||
# Development Dependencies # | ||
############################## | ||
|
||
[tool.pdm.dev-dependencies] | ||
docs-offline = ["myst-parser>=2.0.0", "pypandoc-binary>=1.11", "sphinx>=7.1.1"] | ||
docs-online = [ | ||
"mkdocs>=1.5.2", | ||
"mkdocs>=1.5.3", | ||
"mkdocs-git-revision-date-localized-plugin>=1.2.0", | ||
"mkdocs-material>=9.2.6", | ||
"mkdocstrings[python]>=0.22.0", | ||
"pyaml>=23.7.0", | ||
"mkdocs-material>=9.4.1", | ||
"mkdocstrings[python]>=0.23.0", | ||
"pyaml>=23.9.6", | ||
] | ||
hooks = ["pre-commit>=3.3.3"] | ||
package = ["build>=1.0.0", "twine>=4.0.2"] | ||
runner = ["tox>=4.11.1"] | ||
hooks = ["pre-commit>=3.4.0"] | ||
package = ["build>=1.0.3", "twine>=4.0.2"] | ||
pycqa = ["pyaml>=23.9.6", "pypandoc-binary>=1.11", "pytest>=7.4.2"] | ||
runner = ["tox>=4.11.3"] | ||
sast = ["bandit[toml]>=1.7.5"] | ||
testing = ["pytest>=7.4.0"] | ||
tooling = ["black>=23.7.0", "ruff>=0.0.287", "pyright>=1.1.325"] | ||
tooling-extras = ["pyaml>=23.7.0", "pypandoc-binary>=1.11", "pytest>=7.4.0"] | ||
testing = ["pytest>=7.4.2"] | ||
tooling = ["black>=23.9.1", "ruff>=0.0.291", "pyright>=1.1.327"] | ||
|
||
#################### | ||
# Configurations # | ||
|
@@ -72,6 +78,12 @@ where = ["src"] | |
include = ["validators*"] | ||
namespaces = false | ||
|
||
[tool.setuptools.package-data] | ||
validators = ["py.typed"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = { attr = "validators.__version__" } | ||
|
||
[tool.bandit] | ||
exclude_dirs = [ | ||
".github", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/pwsh | ||
|
||
# tooling | ||
pdm export --group tooling,tooling-extras -f requirements -o python/requirements.tooling.txt | ||
pdm export -dG tooling,pycqa -f requirements -o python/requirements.tooling.txt | ||
# mkdocs | ||
pdm export --group docs-online -f requirements -o python/requirements.mkdocs.txt | ||
pdm export -dG docs-online -f requirements -o python/requirements.mkdocs.txt | ||
# sphinx | ||
pdm export --group docs-offline -f requirements -o python/requirements.sphinx.txt | ||
pdm export -dG docs-offline -f requirements -o python/requirements.sphinx.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/bin/bash | ||
|
||
# tooling | ||
pdm export --group tooling,tooling-extras -f requirements -o python/requirements.tooling.txt | ||
pdm export -dG tooling,pycqa -f requirements -o python/requirements.tooling.txt | ||
# mkdocs | ||
pdm export --group docs-online -f requirements -o python/requirements.mkdocs.txt | ||
pdm export -dG docs-online -f requirements -o python/requirements.mkdocs.txt | ||
# sphinx | ||
pdm export --group docs-offline -f requirements -o python/requirements.sphinx.txt | ||
pdm export -dG docs-offline -f requirements -o python/requirements.sphinx.txt |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.