[tool.poetry]
name = "algorep-leach-leach-c"
version = "1.0.0"
description = "Simulation of LEACH and LEACH-C protocols for dynamic wireless sensor networks with node mobility in precision agriculture"
authors = ["Paul Roost <paul@roost.fr>", "Alexis Bruneteau <alexis@bruneteau.fr>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/sorti/AlgoRep"
keywords = ["leach", "clustering", "wireless", "sensor", "networks", "wsn", "simulation", "energy-efficient"]
classifiers = [
    "Development Status :: 4 - Beta",
    "Environment :: Console",
    "Intended Audience :: Science/Research",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Scientific/Engineering :: Information Analysis",
]

[tool.poetry.dependencies]
python = "^3.8"
matplotlib = ">=3.5.0"
numpy = ">=1.21.0"
simpy = ">=4.1.0"

[tool.poetry.group.dev.dependencies]
pytest = "^7.0"
black = "^23.0"
pylint = "^2.0"
flake8 = "^6.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.black]
line-length = 100
target-version = ["py38", "py39", "py310", "py311", "py312"]
include = '\.pyi?$'
extend-exclude = '''
/(
  # directories
  \.eggs
  | \.git
  | \.hg
  | \.mypy_cache
  | \.tox
  | \.venv
  | build
  | dist
)/
'''

[tool.pylint.messages_control]
disable = [
    "C0111",  # missing-docstring
    "R0903",  # too-few-public-methods
    "R0913",  # too-many-arguments
]

[tool.pylint.format]
max-line-length = 100
