Skip to content

Commit 5a0b326

Browse files
committed
chore: consolidate flake8
1 parent 2959ffa commit 5a0b326

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.flake8

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Click the [Use this template](https://github.com/Justintime50/python-template/ge
2323

2424
### File configuration
2525

26-
1. Configure the `setup.py` file
26+
1. Configure the `pyproject.toml` file
2727
1. Configure the `justfile` targets
2828
1. Update the name in the `LICENSE` or swap it out entirely
2929
1. Configure the `.github/workflows/build.yml` file

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "PROJECT_NAME_URL"
77
description = "Your project description here"
88
dynamic = ["version"]
99
readme = "README.md"
10-
requires-python = ">=3.10,<4"
10+
requires-python = ">=3.10"
1111
license = { text = "MIT" }
1212
authors = [{ name = "USERNAME" }]
1313
urls = { Homepage = "http://github.com/USERNAME/PROJECT_NAME_URL" }
@@ -21,6 +21,7 @@ optional-dependencies = { dev = [
2121
"black == 25.*",
2222
"build == 1.3.*",
2323
"flake8 == 7.*",
24+
"Flake8-pyproject == 1.2.*",
2425
"isort == 7.*",
2526
"mypy == 1.18.*",
2627
"pytest == 9.*",
@@ -52,3 +53,7 @@ use_parentheses = true
5253

5354
[tool.mypy]
5455
disable_error_code = "import-untyped"
56+
57+
[tool.flake8]
58+
max-line-length = 120
59+
extend-ignore = "E203"

0 commit comments

Comments
 (0)