Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💥 Cry
Browse files Browse the repository at this point in the history
ThatXliner committed Nov 25, 2023
1 parent 2eefc45 commit 41417e2
Showing 4 changed files with 12 additions and 112 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -12,14 +12,12 @@ jobs:
strategy:
matrix:
python-version:
- 3.7
- 3.8
- 3.9
- "3.10"
- "3.11"
- "3.12"
- |
3.7
3.8
3.9
3.10
4 changes: 2 additions & 2 deletions idae/cli.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
import subprocess
import sys
from pathlib import Path # noqa: TCH003 # Likely required for Typer
from typing import List, Optional
from typing import Optional

import typer
from packaging.requirements import Requirement
@@ -46,7 +46,7 @@ def run(
),
],
python_flags: Annotated[
Optional[List[str]], # noqa: UP007,UP006 # Typer is old
Optional[list[str]], # noqa: UP007 # Typer can't handle unions yet
typer.Option(help="Extra flags to pass to Python"),
] = None,
ignore_version: Annotated[
113 changes: 7 additions & 106 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -22,12 +22,13 @@ homepage = "https://github.com/ThatXliner/idae"
# keywords = ["awesome", "project"] # Maximum of 5 keywords

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
tomli = { version = "^2.0.1", python = "<3.11" }
platformdirs = ">=4.0.0"
packaging = ">=23.2"
findpython = "^0.4.0"
typer = { extras = ["all"], version = "^0.9.0" }
typing-extensions = { version = "^4.8.0", python = "<3.9" }

[tool.poetry.scripts]
idae = "idae.cli:cli"
@@ -95,7 +96,7 @@ ignore = [
"D213",
"FIX002", # `TODO` comments are fine when linking to issues
]
target-version = "py37"
target-version = "py38"
extend-exclude = ["tests/examples/*.py"]

[tool.ruff.per-file-ignores]

0 comments on commit 41417e2

Please sign in to comment.