Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PyDantic to V2 #79

Merged
merged 14 commits into from
Dec 17, 2024
Prev Previous commit
Next Next commit
Minor cleanup
kratman committed Dec 16, 2024
commit 5ae991e6651c5c7c2165d932df51077842ee1342
1 change: 0 additions & 1 deletion bpx/expression_parser.py
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ class ExpressionParser:
def __init__(self) -> None:
fnumber = ppc.number()
ident = pp.Literal("x")
fn_ident = pp.Literal("x")

fn_ident = pp.Word(pp.alphas, pp.alphanums)
plus, minus, mult, div = map(pp.Literal, "+-*/")
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -218,7 +218,7 @@
"BPX",
"One line description of project.",
"Miscellaneous",
)
),
]


1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -146,7 +146,6 @@ select = [
ignore = [
"ANN101", # missing type self
"ANN102", # missing type cls
"COM812", # trailing comma missing
"UP006", # non pep585 annotation
"UP007", # non pep604 annotation
]