alien-riddle / pyproject.toml
Huba179's picture
deploy from GitHub
6491ed1 verified
Raw
History Blame Contribute Delete
2.09 kB
[project]
name = "alien-obfuscator"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = "==3.13.5"
dependencies = [
"gradio>=6.16.0",
"pytest>=9.0.3",
"pytest-mock>=3.14.0",
"pytest-anyio>=0.0.0",
"python-dotenv>=1.1.0",
"pyyaml>=6.0",
"requests>=2.32.0",
"ruff>=0.15.16",
"ty>=0.0.44",
"pytest-cov>=7.1.0",
"modal>=1.5.0",
"pydantic>=2.11.10,<=2.12.5",
"torch>=2.6.0",
"transformers>=4.45.0",
"bitsandbytes>=0.43.0",
"accelerate>=0.30.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/alien_obfuscator"]
[tool.ruff]
target-version = "py313"
line-length = 120
[tool.ruff.lint]
# 1. Enable flake8-bugbear (`B`) rules, in addition to the defaults.
select = ["E4", "E7", "E9", "F", "B"]
# 2. Avoid enforcing line-length violations (`E501`)
ignore = ["E501"]
# 3. Avoid trying to fix flake8-bugbear (`B`) violations.
unfixable = ["B"]
# 4. Ignore `E402` (import violations) in all `__init__.py` files, and in selected subdirectories.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"
# Enable auto-formatting of code examples in docstrings. Markdown,
# reStructuredText code/literal blocks and doctests are all supported.
#
# This is currently disabled by default, but it is planned for this
# to be opt-out in the future.
docstring-code-format = false
# Set the line length limit used when formatting code snippets in
# docstrings.
#
# This only has an effect when the `docstring-code-format` setting is
# enabled.
docstring-code-line-length = "dynamic"
[tool.ruff.lint.isort]
known-first-party = ["alien_obfuscator"]