Bump tools and deps and fix changelog (#199)
This commit is contained in:
parent
7f1fd0445c
commit
1fcd660c91
|
@ -35,14 +35,18 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: tox-ini-fmt
|
- id: tox-ini-fmt
|
||||||
args: ["-p", "fix"]
|
args: ["-p", "fix"]
|
||||||
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
||||||
|
rev: "0.9.2"
|
||||||
|
hooks:
|
||||||
|
- id: pyproject-fmt
|
||||||
- repo: https://github.com/PyCQA/flake8
|
- repo: https://github.com/PyCQA/flake8
|
||||||
rev: 6.0.0
|
rev: 6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- flake8-bugbear==23.1.20
|
- flake8-bugbear==23.2.13
|
||||||
- flake8-comprehensions==3.10.1
|
- flake8-comprehensions==3.10.1
|
||||||
- flake8-pytest-style==1.6
|
- flake8-pytest-style==1.7.2
|
||||||
- flake8-spellcheck==0.28
|
- flake8-spellcheck==0.28
|
||||||
- flake8-unused-arguments==0.0.13
|
- flake8-unused-arguments==0.0.13
|
||||||
- flake8-noqa==1.3
|
- flake8-noqa==1.3
|
||||||
|
|
20
CHANGES.md
20
CHANGES.md
|
@ -1,5 +1,25 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2.5.1
|
||||||
|
|
||||||
|
- Fix Mermaid flag.
|
||||||
|
|
||||||
|
## 2.5.0
|
||||||
|
|
||||||
|
- Implements Mermaid output.
|
||||||
|
|
||||||
|
## 2.4.0
|
||||||
|
|
||||||
|
- Make the output of the dot format deterministic and stable.
|
||||||
|
|
||||||
|
## 2.3.3
|
||||||
|
|
||||||
|
- Update README for tested Python versions.
|
||||||
|
|
||||||
|
## 2.3.2
|
||||||
|
|
||||||
|
- Generalize license.
|
||||||
|
|
||||||
## 2.3.1
|
## 2.3.1
|
||||||
|
|
||||||
- Use `importlib.metadata` to guess version of package before fallback to `pkg.__version__`.
|
- Use `importlib.metadata` to guess version of package before fallback to `pkg.__version__`.
|
||||||
|
|
|
@ -1,35 +1,27 @@
|
||||||
[build-system]
|
[build-system]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
requires = ["hatchling>=1.12.2", "hatch-vcs>=0.3"]
|
requires = [
|
||||||
|
"hatch-vcs>=0.3",
|
||||||
|
"hatchling>=1.13",
|
||||||
|
]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "pipdeptree"
|
name = "pipdeptree"
|
||||||
description = 'Command line utility to show dependency tree of packages.'
|
description = "Command line utility to show dependency tree of packages."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
keywords = [
|
||||||
|
"application",
|
||||||
|
"cache",
|
||||||
|
"directory",
|
||||||
|
"log",
|
||||||
|
"user",
|
||||||
|
]
|
||||||
license.file = "LICENSE"
|
license.file = "LICENSE"
|
||||||
maintainers = [
|
maintainers = [
|
||||||
{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" },
|
{ name = "Bernát Gábor", email = "gaborjbernat@gmail.com" },
|
||||||
{ name = "Vineet Naik", email = "naikvin@gmail.com" },
|
{ name = "Vineet Naik", email = "naikvin@gmail.com" },
|
||||||
]
|
]
|
||||||
urls.Documentation = "https://github.com/tox-dev/pipdeptree/blob/main/README.md#pipdeptree"
|
|
||||||
urls.Homepage = "https://github.com/tox-dev/pipdeptree"
|
|
||||||
urls.Source = "https://github.com/tox-dev/pipdeptree"
|
|
||||||
urls.Tracker = "https://github.com/tox-dev/pipdeptree/issues"
|
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.7"
|
||||||
optional-dependencies.test = [
|
|
||||||
"covdefaults>=2.2.2",
|
|
||||||
"diff-cover>=7.4",
|
|
||||||
"pip>=23",
|
|
||||||
"pytest>=7.2.1",
|
|
||||||
"pytest-cov>=4",
|
|
||||||
"pytest-mock>=3.10",
|
|
||||||
"virtualenv<21,>=20.17.1",
|
|
||||||
]
|
|
||||||
optional-dependencies.graphviz = [
|
|
||||||
"graphviz>=0.20.1",
|
|
||||||
]
|
|
||||||
scripts.pipdeptree = "pipdeptree:main"
|
|
||||||
keywords = ["application", "cache", "directory", "log", "user"]
|
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 5 - Production/Stable",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
|
@ -40,7 +32,27 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
]
|
]
|
||||||
dynamic = ["version"]
|
dynamic = [
|
||||||
|
"version",
|
||||||
|
]
|
||||||
|
optional-dependencies.graphviz = [
|
||||||
|
"graphviz>=0.20.1",
|
||||||
|
]
|
||||||
|
optional-dependencies.test = [
|
||||||
|
"covdefaults>=2.2.2",
|
||||||
|
"diff-cover>=7.4",
|
||||||
|
"pip>=23.0.1",
|
||||||
|
"pytest>=7.2.1",
|
||||||
|
"pytest-cov>=4",
|
||||||
|
"pytest-mock>=3.10",
|
||||||
|
"virtualenv<21,>=20.20",
|
||||||
|
]
|
||||||
|
urls.Changelog = "https://github.com/tox-dev/pipdeptree/blob/main/CHANGES.md"
|
||||||
|
urls.Documentation = "https://github.com/tox-dev/pipdeptree/blob/main/README.md#pipdeptree"
|
||||||
|
urls.Homepage = "https://github.com/tox-dev/pipdeptree"
|
||||||
|
urls.Source = "https://github.com/tox-dev/pipdeptree"
|
||||||
|
urls.Tracker = "https://github.com/tox-dev/pipdeptree/issues"
|
||||||
|
scripts.pipdeptree = "pipdeptree:main"
|
||||||
|
|
||||||
[tool.hatch]
|
[tool.hatch]
|
||||||
build.hooks.vcs.version-file = "src/pipdeptree/version.py"
|
build.hooks.vcs.version-file = "src/pipdeptree/version.py"
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -34,7 +34,7 @@ wheel_build_env = .pkg
|
||||||
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
|
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
|
||||||
skip_install = true
|
skip_install = true
|
||||||
deps =
|
deps =
|
||||||
pre-commit>=3.0.4
|
pre-commit>=3.1.1
|
||||||
commands =
|
commands =
|
||||||
pre-commit run --all-files --show-diff-on-failure
|
pre-commit run --all-files --show-diff-on-failure
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue