@@ -8,8 +8,8 @@ requires = [
88[project ]
99name = " cherry-picker"
1010readme = " README.md"
11- maintainers = [{ name = " Python Core Developers" , email = " core-workflow@python.org" }]
12- authors = [{ name = " Mariatta Wijaya" , email = " mariatta@python.org" }]
11+ maintainers = [ { name = " Python Core Developers" , email = " core-workflow@python.org" } ]
12+ authors = [ { name = " Mariatta Wijaya" , email = " mariatta@python.org" } ]
1313requires-python = " >=3.8"
1414classifiers = [
1515 " Intended Audience :: Developers" ,
@@ -20,27 +20,24 @@ classifiers = [
2020 " Programming Language :: Python :: 3.10" ,
2121 " Programming Language :: Python :: 3.11" ,
2222 " Programming Language :: Python :: 3.12" ,
23+ " Programming Language :: Python :: 3.13" ,
2324]
2425dynamic = [
2526 " description" ,
2627 " version" ,
2728]
2829dependencies = [
29- " cffi>=v1.17.0rc1" , # remove once v1.17.0 is out; add 3.13 classifier above (see #127)
3030 " click>=6" ,
3131 " gidgethub" ,
3232 " requests" ,
33- ' tomli>=1.1; python_version < " 3.11" ' ,
33+ " tomli>=1.1; python_version<' 3.11' " ,
3434]
35- [project .optional-dependencies ]
36- dev = [
35+ optional-dependencies.dev = [
3736 " pytest" ,
3837 " pytest-cov" ,
3938]
40- [project .urls ]
41- "Homepage" = " https://github.com/python/cherry-picker"
42- [project .scripts ]
43- cherry_picker = " cherry_picker.cherry_picker:cherry_pick_cli"
39+ urls.Homepage = " https://github.com/python/cherry-picker"
40+ scripts.cherry_picker = " cherry_picker.cherry_picker:cherry_pick_cli"
4441
4542[tool .hatch .version ]
4643source = " vcs"
@@ -50,5 +47,32 @@ tag-pattern = '^cherry-picker-(?P<version>[vV]?\d+(?:\.\d+){0,2}[^\+]*)(?:\+.*)?
5047[tool .hatch .version .raw-options ]
5148local_scheme = " no-local-version"
5249
53- [tool .isort ]
54- profile = " black"
50+ [tool .ruff ]
51+ fix = true
52+
53+ lint.select = [
54+ " C4" , # flake8-comprehensions
55+ " E" , # pycodestyle errors
56+ " F" , # pyflakes errors
57+ " I" , # isort
58+ " ICN" , # flake8-import-conventions
59+ " ISC" , # flake8-implicit-str-concat
60+ " LOG" , # flake8-logging
61+ " PGH" , # pygrep-hooks
62+ " PYI" , # flake8-pyi
63+ " RUF022" , # unsorted-dunder-all
64+ " RUF100" , # unused noqa (yesqa)
65+ " S" , # flake8-bandit
66+ " UP" , # pyupgrade
67+ " W" , # pycodestyle warnings
68+ " YTT" , # flake8-2020
69+ ]
70+ lint.ignore = [
71+ " S101" , # Use of assert detected
72+ " S404" , # subprocess module is possibly insecure
73+ " S603" , # subprocess call: check for execution of untrusted input
74+ ]
75+ lint.isort.required-imports = [ " from __future__ import annotations" ]
76+
77+ [tool .pyproject-fmt ]
78+ max_supported_python = " 3.13"
0 commit comments