Bump tools and deps and fix changelog (#199)

This commit is contained in:
Bernát Gábor 2023-03-02 17:40:17 -08:00 committed by GitHub
parent 7f1fd0445c
commit 1fcd660c91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 60 additions and 24 deletions

View File

@ -35,14 +35,18 @@ repos:
hooks:
- id: tox-ini-fmt
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
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==23.1.20
- flake8-bugbear==23.2.13
- flake8-comprehensions==3.10.1
- flake8-pytest-style==1.6
- flake8-pytest-style==1.7.2
- flake8-spellcheck==0.28
- flake8-unused-arguments==0.0.13
- flake8-noqa==1.3

View File

@ -1,5 +1,25 @@
# 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
- Use `importlib.metadata` to guess version of package before fallback to `pkg.__version__`.

View File

@ -1,35 +1,27 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.12.2", "hatch-vcs>=0.3"]
requires = [
"hatch-vcs>=0.3",
"hatchling>=1.13",
]
[project]
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"
keywords = [
"application",
"cache",
"directory",
"log",
"user",
]
license.file = "LICENSE"
maintainers = [
{ name = "Bernát Gábor", email = "gaborjbernat@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"
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 = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
@ -40,7 +32,27 @@ classifiers = [
"Programming Language :: Python :: 3",
"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]
build.hooks.vcs.version-file = "src/pipdeptree/version.py"

View File

@ -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
skip_install = true
deps =
pre-commit>=3.0.4
pre-commit>=3.1.1
commands =
pre-commit run --all-files --show-diff-on-failure