48 lines
1.0 KiB
TOML
48 lines
1.0 KiB
TOML
# Minimal Python project configuration for linters and type checkers.
|
|
# This file centralizes config for black, isort, flake8, mypy, pylint.
|
|
|
|
[project]
|
|
name = "aperisolve"
|
|
version = "3.1.1"
|
|
description = "Open-source steganalysis web platform for automated image analysis and steganography detection"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Zeecka"}
|
|
]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ["py312"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.flake8]
|
|
extend-ignore = ["E203", "E501", "W503"]
|
|
max-line-length = 100
|
|
|
|
[tool.mypy]
|
|
disallow_any_generics = true
|
|
disallow_untyped_defs = true
|
|
follow_imports = "skip"
|
|
ignore_missing_imports = true
|
|
disable_error_code = ["unused-awaitable"]
|
|
|
|
[tool.pylint]
|
|
disable = ["W0511", "W0718", "R0801", "R0903", "R0914"]
|
|
|
|
[tool.pre-commit]
|
|
skip = true
|
|
|
|
[tool.doc]
|
|
description = """
|
|
Linting and type checking configuration for this project.
|
|
- Black: code formatting
|
|
- Isort: import sorting
|
|
- Flake8: code style
|
|
- Mypy: static typing
|
|
- Pylint: code quality
|
|
"""
|