albertyw/csv-ical

View on GitHub
pyproject.toml

Summary

Maintainability
Test Coverage
[project]
name = "csv-ical"
authors = [
    {name = "Albert Wang", email = "git@albertyw.com"},
]
description = "Convert between CSV and iCal"
requires-python = ">=3.5"
keywords = ["csv", "ical"]
license = {text = "MIT"}
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Developers",
    "Natural Language :: English",
    "Topic :: Software Development :: Version Control",
    "License :: OSI Approved :: MIT License",
    "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",
    "Typing :: Typed",
]
dependencies = [
    "icalendar>=4.0.1,<5.0.0",
]
dynamic = ["version", "readme"]

[project.optional-dependencies]
test = [
    # Testing
    "coverage==7.4.3",                  # Test coverage
    "ruff==0.3.0",                      # Python linting
    "syspath==3.0.5",                   # Manipulating python paths

    # Types
    "mypy==1.8.0",                      # Static typing
]

[project.urls]
"Homepage" = "https://github.com/albertyw/csv-ical"

[tool.setuptools.dynamic]
version = {attr = "csv_ical.__version__.__version__"}
readme = {file = "README.md", content-type="text/markdown"}

[options.package_data]
git_browse = ["py.typed"]

[tool.ruff]
lint.select = ["E", "F", "B"]

[tool.mypy]
strict = true
ignore_missing_imports = true

[tool.coverage.run]
source = [
    ".",
]
omit = [
    ".virtualenv",
    "setup.py",
]

[tool.coverage.report]
exclude_lines = [
    "pragma: no cover",
    'if __name__ == "__main__":',
]