Skip to content

Commit f7c295a

Browse files
committed
Merge branch 'main' of https://github.com/pypa/setuptools into Use-set-instead-of-True-only-dict-non-public
2 parents 882bd43 + 2299319 commit f7c295a

40 files changed

+528
-513
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.1.8
3+
rev: v0.4.9
44
hooks:
55
- id: ruff
66
- id: ruff-format

mypy.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
python_version = 3.8
55
strict = False
66
warn_unused_ignores = True
7+
warn_redundant_casts = True
78
# required to support namespace packages: https://github.com/python/mypy/issues/14057
89
explicit_package_bases = True
910
exclude = (?x)(

newsfragments/4365.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use actual boolean parameters and variables instead of 0-1 literals. -- by :user:`Avasam`

0 commit comments

Comments
 (0)