feat: python project setup

This commit is contained in:
2026-02-16 09:06:13 +01:00
parent 10ef9e6d34
commit a3ae5ffce3
17 changed files with 28728 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
[project]
name = "hack-assembler"
version = "0.1.0"
description = "Hack Assembly Language Assembler for Nand2tetris"
requires-python = ">=3.9"
dependencies = []
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"ruff>=0.1.0",
]
[project.scripts]
assembler = "assembler.cli:main"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W"]