mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00

Bumps [ruff](https://github.com/astral-sh/ruff) from 0.6.7 to 0.6.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>0.6.8</h2> <h2>Release Notes</h2> <h3>Preview features</h3> <ul> <li>Remove unnecessary parentheses around <code>match case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13510">#13510</a>)</li> <li>Parenthesize overlong <code>if</code> guards in <code>match..case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13513">#13513</a>)</li> <li>Detect basic wildcard imports in <code>ruff analyze graph</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13486">#13486</a>)</li> <li>[<code>pylint</code>] Implement <code>boolean-chained-comparison</code> (<code>R1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13435">#13435</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>lake8-simplify</code>] Detect <code>SIM910</code> when using variadic keyword arguments, i.e., <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13503">#13503</a>)</li> <li>[<code>pyupgrade</code>] Avoid false negatives with non-reference shadowed bindings of loop variables (<code>UP028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13504">#13504</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Detect tuples bound to variadic positional arguments i.e. <code>*args</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13512">#13512</a>)</li> <li>Exit gracefully on broken pipe errors (<a href="https://redirect.github.com/astral-sh/ruff/pull/13485">#13485</a>)</li> <li>Avoid panic when analyze graph hits broken pipe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13484">#13484</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Reuse <code>BTreeSets</code> in module resolver (<a href="https://redirect.github.com/astral-sh/ruff/pull/13440">#13440</a>)</li> <li>Skip traversal for non-compound statements (<a href="https://redirect.github.com/astral-sh/ruff/pull/13441">#13441</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/TomerBin"><code>@TomerBin</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/diceroll123"><code>@diceroll123</code></a></li> <li><a href="https://github.com/dylwil3"><code>@dylwil3</code></a></li> <li><a href="https://github.com/haarisr"><code>@haarisr</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/sbrugman"><code>@sbrugman</code></a></li> <li><a href="https://github.com/vincevannoort"><code>@vincevannoort</code></a></li> <li><a href="https://github.com/zanieb"><code>@zanieb</code></a></li> </ul> <h2>Install ruff 0.6.8</h2> <h3>Install prebuilt binaries via shell script</h3> <pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.8/ruff-installer.sh | sh </code></pre> <h3>Install prebuilt binaries via powershell script</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.6.8</h2> <h3>Preview features</h3> <ul> <li>Remove unnecessary parentheses around <code>match case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13510">#13510</a>)</li> <li>Parenthesize overlong <code>if</code> guards in <code>match..case</code> clauses (<a href="https://redirect.github.com/astral-sh/ruff/pull/13513">#13513</a>)</li> <li>Detect basic wildcard imports in <code>ruff analyze graph</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13486">#13486</a>)</li> <li>[<code>pylint</code>] Implement <code>boolean-chained-comparison</code> (<code>R1716</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13435">#13435</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>lake8-simplify</code>] Detect <code>SIM910</code> when using variadic keyword arguments, i.e., <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13503">#13503</a>)</li> <li>[<code>pyupgrade</code>] Avoid false negatives with non-reference shadowed bindings of loop variables (<code>UP028</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/13504">#13504</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>Detect tuples bound to variadic positional arguments i.e. <code>*args</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/13512">#13512</a>)</li> <li>Exit gracefully on broken pipe errors (<a href="https://redirect.github.com/astral-sh/ruff/pull/13485">#13485</a>)</li> <li>Avoid panic when analyze graph hits broken pipe (<a href="https://redirect.github.com/astral-sh/ruff/pull/13484">#13484</a>)</li> </ul> <h3>Performance</h3> <ul> <li>Reuse <code>BTreeSets</code> in module resolver (<a href="https://redirect.github.com/astral-sh/ruff/pull/13440">#13440</a>)</li> <li>Skip traversal for non-compound statements (<a href="https://redirect.github.com/astral-sh/ruff/pull/13441">#13441</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="ae39ce56c0
"><code>ae39ce5</code></a> Bump version to 0.6.8 (<a href="https://redirect.github.com/astral-sh/ruff/issues/13522">#13522</a>)</li> <li><a href="ff2d214e11
"><code>ff2d214</code></a> Don't skip over imports and other nodes containing nested statements in impor...</li> <li><a href="9442cd8fae
"><code>9442cd8</code></a> Parenthesize <code>match..case</code> <code>if</code> guards (<a href="https://redirect.github.com/astral-sh/ruff/issues/13513">#13513</a>)</li> <li><a href="8012707348
"><code>8012707</code></a> Align formatting of patterns in match-cases with expression formatting in cla...</li> <li><a href="d7ffe46054
"><code>d7ffe46</code></a> Disable the <code>typeset</code> plugin (<a href="https://redirect.github.com/astral-sh/ruff/issues/13517">#13517</a>)</li> <li><a href="7c83af419c
"><code>7c83af4</code></a> red-knot: Implement the <code>not</code> operator for all <code>Type</code> variants (<a href="https://redirect.github.com/astral-sh/ruff/issues/13432">#13432</a>)</li> <li><a href="bbb044ebda
"><code>bbb044e</code></a> Detect tuples bound to variadic positional arguments i.e. <code>*args</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/13512">#13512</a>)</li> <li><a href="481065238b
"><code>4810652</code></a> Avoid UP028 false negatives with non-reference shadowed bindings of loop vari...</li> <li><a href="11f06e0d55
"><code>11f06e0</code></a> Detect SIM910 when using variadic keyword arguments, i.e., <code>**kwargs</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/13503">#13503</a>)</li> <li><a href="f27a8b8c7a
"><code>f27a8b8</code></a> [internal] <code>ComparableExpr</code> (f)strings and bytes made invariant under concate...</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/0.6.7...0.6.8">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
97 lines
2.1 KiB
TOML
97 lines
2.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "umap-project"
|
|
dynamic = ["version"]
|
|
description = "Create maps with OpenStreetMap layers in a minute and embed them in your site."
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "Yohan Boniface", email = "yb@enix.org" },
|
|
]
|
|
maintainers = [
|
|
{ name = "David Larlet", email = "david@larlet.fr" },
|
|
]
|
|
homepage = "https://github.com/umap-project/umap"
|
|
keywords = ["django", "leaflet", "geodjango", "openstreetmap", "map"]
|
|
requires-python = ">=3.10"
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"Operating System :: OS Independent",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
]
|
|
dependencies = [
|
|
"Django==5.1.1",
|
|
"django-agnocomplete==2.2.0",
|
|
"django-environ==0.11.2",
|
|
"django-probes==1.7.0",
|
|
"Pillow==10.4.0",
|
|
"psycopg==3.2.3",
|
|
"pydantic==2.9.2",
|
|
"requests==2.32.3",
|
|
"rcssmin==1.1.2",
|
|
"rjsmin==1.2.2",
|
|
"social-auth-core==4.5.4",
|
|
"social-auth-app-django==5.4.2",
|
|
"websockets==13.1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"hatch==1.12.0",
|
|
"ruff==0.6.8",
|
|
"djlint==1.35.2",
|
|
"mkdocs==1.6.1",
|
|
"mkdocs-material==9.5.36",
|
|
"mkdocs-static-i18n==1.2.3",
|
|
"vermin==1.6.0",
|
|
"pymdown-extensions==10.11.1",
|
|
"isort==5.13.2",
|
|
]
|
|
test = [
|
|
"factory-boy==3.3.1",
|
|
"playwright>=1.39",
|
|
"pytest==8.3.3",
|
|
"pytest-django==4.9.0",
|
|
"pytest-playwright==0.5.2",
|
|
"pytest-xdist>=3.5.0,<4",
|
|
]
|
|
docker = [
|
|
"uwsgi==2.0.27",
|
|
]
|
|
|
|
[project.scripts]
|
|
umap = "umap.bin:main"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = [
|
|
"/umap",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["umap"]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.version]
|
|
path = "umap/__init__.py"
|
|
|
|
[tool.flake8]
|
|
# Black crazyness.
|
|
max-line-length = 88
|
|
|
|
[tool.djlint]
|
|
profile="django"
|
|
indent=2
|
|
format_css=true
|
|
blank_line_after_tag="load,extends"
|
|
line_break_after_multiline_tag=true
|
|
|