-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e572f55
commit b426cce
Showing
43 changed files
with
648 additions
and
681 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
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
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ build-backend = 'maturin' | |
[project] | ||
name = 'pydantic_core' | ||
description = "Core functionality for Pydantic validation and serialization" | ||
requires-python = '>=3.8' | ||
requires-python = '>=3.9' | ||
authors = [ | ||
{name = 'Samuel Colvin', email = '[email protected]'} | ||
] | ||
|
@@ -17,7 +17,6 @@ classifiers = [ | |
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3 :: Only', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Programming Language :: Python :: 3.11', | ||
|
@@ -76,6 +75,7 @@ linting = [ | |
'pyright', | ||
'ruff', | ||
'mypy', | ||
'pyupgrade', | ||
] | ||
wasm = [ | ||
'typing_extensions', | ||
|
@@ -101,16 +101,20 @@ features = ["pyo3/extension-module"] | |
|
||
[tool.ruff] | ||
line-length = 120 | ||
target-version = 'py39' | ||
|
||
[tool.ruff.lint] | ||
extend-select = ['Q', 'RUF100', 'C90', 'I'] | ||
extend-select = ['Q', 'RUF100', 'C90', 'I', 'UP'] | ||
extend-ignore = [ | ||
'E721', # using type() instead of isinstance() - we use this in tests | ||
] | ||
flake8-quotes = {inline-quotes = 'single', multiline-quotes = 'double'} | ||
mccabe = { max-complexity = 13 } | ||
isort = { known-first-party = ['pydantic_core', 'tests'] } | ||
|
||
[tool.ruff.lint.pyupgrade] | ||
keep-runtime-typing = true | ||
|
||
[tool.ruff.format] | ||
quote-style = 'single' | ||
|
||
|
Oops, something went wrong.