|
| 1 | +[project] |
| 2 | +name = "trame-leaflet" |
| 3 | +version = "1.2.0" |
| 4 | +description = "Leaflet widget for trame" |
| 5 | +authors = [ |
| 6 | + {name = "Kitware Inc."}, |
| 7 | +] |
| 8 | +dependencies = [ |
| 9 | +] |
| 10 | +requires-python = ">=3.9" |
| 11 | +readme = "README.rst" |
| 12 | +license = {text = "MIT"} |
| 13 | +keywords = ["Python", "Interactive", "Web", "Application", "Framework"] |
| 14 | +classifiers = [ |
| 15 | + "Development Status :: 5 - Production/Stable", |
| 16 | + "Environment :: Web Environment", |
| 17 | + "License :: OSI Approved :: MIT License", |
| 18 | + "Natural Language :: English", |
| 19 | + "Operating System :: OS Independent", |
| 20 | + "Programming Language :: Python :: 3 :: Only", |
| 21 | + "Topic :: Software Development :: Libraries :: Application Frameworks", |
| 22 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 23 | +] |
| 24 | + |
| 25 | +[project.optional-dependencies] |
| 26 | +test = [ |
| 27 | + "pytest", |
| 28 | +] |
| 29 | +dev = [ |
| 30 | + "pre-commit", |
| 31 | + "ruff", |
| 32 | +] |
| 33 | + |
| 34 | +[build-system] |
| 35 | +requires = ['setuptools', 'wheel'] |
| 36 | +build-backend = 'setuptools.build_meta' |
| 37 | + |
| 38 | +[tool.setuptools.packages.find] |
| 39 | +where = ["."] |
| 40 | + |
| 41 | +[tool.setuptools.package-data] |
| 42 | + |
| 43 | + |
| 44 | +[tool.semantic_release] |
| 45 | +version_toml = [ |
| 46 | + "pyproject.toml:project.version", |
| 47 | +] |
| 48 | +build_command = """ |
| 49 | + python -m venv .venv |
| 50 | + source .venv/bin/activate |
| 51 | + pip install -U pip build |
| 52 | + python -m build . |
| 53 | +""" |
| 54 | + |
| 55 | +[semantic_release.publish] |
| 56 | +dist_glob_patterns = ["dist/*"] |
| 57 | +upload_to_vcs_release = true |
| 58 | + |
| 59 | +[tool.ruff] |
| 60 | +line-length = 88 |
| 61 | +indent-width = 4 |
| 62 | +target-version = "py39" |
| 63 | + |
| 64 | +[tool.ruff.lint] |
| 65 | +select = ["E", "W", "F"] |
| 66 | +ignore = [] |
| 67 | +fixable = ["ALL"] |
| 68 | +unfixable = [] |
| 69 | + |
| 70 | + |
| 71 | +[tool.ruff.format] |
| 72 | +quote-style = "double" |
| 73 | +indent-style = "space" |
| 74 | +skip-magic-trailing-comma = false |
| 75 | +line-ending = "auto" |
| 76 | +docstring-code-format = true |
| 77 | + |
| 78 | +# This only has an effect when the `docstring-code-format` setting is |
| 79 | +# enabled. |
| 80 | +docstring-code-line-length = "dynamic" |
| 81 | + |
| 82 | +[tool.ruff.lint.pycodestyle] |
| 83 | +max-line-length = 120 |
| 84 | + |
| 85 | +[lint.pydocstyle] |
| 86 | +convention = "google" |
0 commit comments