Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"recommendations": [
"ms-python.python",
"ms-python.vscode-pylance",
"astral-sh.ty",
"charliermarsh.ruff",
"esbenp.prettier-vscode",
"EditorConfig.EditorConfig",
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fmt:
prettier --write '**/*.md'

lint:
uv run pyright src/moelib tests
Comment thread
SigureMo marked this conversation as resolved.
uv run ty check --error-on-warning src/moelib tests
uv run ruff check .

fmt-docs:
Expand Down
9 changes: 1 addition & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,12 @@ moelib = "moelib.__main__:main"

[dependency-groups]
dev = [
"pyright>=1.1.407",
"ty>=0.0.4",
"ruff>=0.14.10",
"pytest>=9.0.2",
"pytest-rerunfailures>=16.1",
]

[tool.pyright]
include = ["src/moelib", "tests"]
pythonVersion = "3.10"
typeCheckingMode = "strict"

[tool.ruff]
line-length = 120
target-version = "py310"
Expand Down Expand Up @@ -88,8 +83,6 @@ select = [
]
ignore = [
"E501", # line too long, duplicate with ruff fmt
"F401", # imported but unused, duplicate with pyright
"F841", # local variable is assigned to but never used, duplicate with pyright
]
future-annotations = true

Expand Down
2 changes: 1 addition & 1 deletion src/moelib/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def main() -> None:
parser = argparse.ArgumentParser(prog="moelib", description="A moe moe project")
parser.add_argument("-v", "--version", action="version", version=__version__)
args = parser.parse_args() # type: ignore
parser.parse_args()


if __name__ == "__main__":
Expand Down
49 changes: 21 additions & 28 deletions uv.lock

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