69 lines
1.3 KiB
TOML
69 lines
1.3 KiB
TOML
[tool.poetry]
|
|
authors = [
|
|
"Laurent Fainsin <laurent@fainsin.bzh>",
|
|
"Damien Guillotin <damien.guillotin@etu.inp-n7.fr>",
|
|
"Pierre-Eliot Jourdan <pierreeliot.jourdan@etu.inp-n7.fr>",
|
|
]
|
|
description = "Projet d'apprentissage faiblement supervisé"
|
|
license = "MIT"
|
|
name = "proj-iam"
|
|
readme = "README.md"
|
|
version = "0.1.0"
|
|
|
|
[tool.poetry.dependencies]
|
|
albumentations = "^1.3.0"
|
|
numpy = "^1.23.4"
|
|
python = ">=3.8,<3.11"
|
|
rich = "^12.6.0"
|
|
tensorflow = "^2.10.0"
|
|
|
|
[tool.poetry.group.notebooks]
|
|
optional = true
|
|
|
|
[tool.poetry.group.notebooks.dependencies]
|
|
ipykernel = "^6.15.3"
|
|
matplotlib = "^3.5.3"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
Flake8-pyproject = "^1.1.0.post0"
|
|
bandit = "^1.7.4"
|
|
black = "^22.10.0"
|
|
flake8 = "^5.0.4"
|
|
flake8-docstrings = "^1.6.0"
|
|
isort = "^5.10.1"
|
|
mypy = "^0.990"
|
|
pre-commit = "^2.20.0"
|
|
types-PyYAML = "^6.0.12.1"
|
|
|
|
[build-system]
|
|
build-backend = "poetry.core.masonry.api"
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
[tool.flake8]
|
|
# rules ignored
|
|
extend-ignore = ["W503", "D401", "D403"]
|
|
per-file-ignores = ["__init__.py:F401", "__init__.py:D104"]
|
|
# black
|
|
ignore = "E203"
|
|
max-line-length = 120
|
|
|
|
[tool.black]
|
|
exclude = '''
|
|
/(
|
|
\.git
|
|
\.venv
|
|
)/
|
|
'''
|
|
include = '\.pyi?$'
|
|
line-length = 120
|
|
target-version = ["py310"]
|
|
|
|
[tool.isort]
|
|
multi_line_output = 3
|
|
profile = "black"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.10"
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|