[build-system] requires = ["hatchling>=1.25"] build-backend = "hatchling.build" [project] name = "galemu" version = "0.1.0" description = "Readable, deterministic Namco Galaxian arcade emulator" readme = "README.md" license = "MIT" requires-python = ">=3.12" dependencies = ["z80-python==0.3.0"] classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.12", "Topic :: Games/Entertainment :: Arcade", "Topic :: System :: Emulators", ] [project.urls] Repository = "https://github.com/alewman/galemu" Documentation = "https://github.com/alewman/galemu/tree/main/docs" Issues = "https://github.com/alewman/galemu/issues" [project.scripts] galemu = "galemu.__main__:main" [project.optional-dependencies] display = ["pygame-ce>=2.5"] dev = [ "pytest>=9", "pytest-cov>=7", "pytest-timeout>=2", "ruff>=0.15", ] [tool.ruff] line-length = 100 target-version = "py312" exclude = [ ".git", ".pytest_cache", "docs", "rom", ] [tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # pyflakes "I", # isort "UP", # pyupgrade "B", # flake8-bugbear "C4", # flake8-comprehensions "SIM",# flake8-simplify "PERF", # perflint "RUF", # ruff-specific rules ] [tool.ruff.lint.isort] known-first-party = ["galemu"] [tool.ruff.format] quote-style = "double" indent-style = "space" [tool.pytest.ini_options] testpaths = ["tests/consumer"] python_files = ["test_*.py", "*_test.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = "--strict-markers -ra" pythonpath = ["src"] markers = [ "unit: fast unit tests for a single component (default)", "integration: tests that exercise multiple components together", "rom: tests that require a locally supplied extracted Galaxian parent set (skip if absent)", "slow: long-running tests (e.g. full Z80 instruction-set validation)", ]