[tool.black]
# excludes the sidebar.py file from being formatted
extend-exclude = '^/sidebar.py'

[tool.ruff.lint]
select = [
  # pycodestyle
  "E",
  # Pyflakes
  "F",
  # pyupgrade
  "UP",
  # flake8-bugbear
  "B",
  # flake8-simplify
  "SIM",
  # isort
  "I",
]
# Asking ruff to ignore the number of characters per line. PyCharm IDE already takes care of it.
ignore = ["E501"]
#Exclude certain files and folders from linting
exclude = [
    ".git",
    ".examples",
    ".app",
    "sidebar.py",
    "til",
    ".ruff_cache",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "text-to-html-converter"
version = "1.0.2"
authors = [
  { name="Marco Pasqua", email="marco.pasqua03@gmail.com" },
]
description = "A package that allows for txt and md conversion to HTML files."
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
]

[project.urls]
Homepage = "https://github.com/Pasqua101/txt-to-HTML-converter"
Issues = "https://github.com/Pasqua101/txt-to-HTML-converter/issues"