[build-system] requires = ["hatchling>=1.25"] build-backend = "hatchling.build" [project] name = "i8080-python" version = "0.2.0.dev0" description = "Readable, pure-Python Intel 8080A instruction-core reference implementation" readme = "README.md" # The floor is the newest Python PyPy supports (3.11 as of PyPy 7.3.23); raise it when PyPy does. requires-python = ">=3.11" license = { file = "LICENSE" } authors = [{ name = "alewman" }] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries", "Topic :: System :: Emulators", ] dependencies = [] [project.optional-dependencies] dev = [ "pytest>=8", # Pinned: `ruff format --check` in CI must see the formatter the tree was formatted with. "ruff==0.16.8", ] [tool.hatch.build.targets.wheel] packages = ["src/i8080_python"] [tool.ruff] line-length = 100 target-version = "py311" exclude = [".git", ".pytest_cache", "tests/exercisers", "tests/mame_traces"] [tool.ruff.lint] select = ["E", "W", "F", "I", "UP", "B", "C4", "SIM", "PERF", "RUF"] [tool.ruff.lint.isort] known-first-party = ["i8080_python", "validation"] [tool.ruff.format] quote-style = "double" indent-style = "space" [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] addopts = "--strict-markers -ra -m \"not slow\"" pythonpath = ["src", "."] markers = [ "slow: long-running oracle runs (8080EXM, CPUTEST); opt in with -m slow", ]