Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install .[dev]
Comment thread
grimley517 marked this conversation as resolved.
- name: Lint with flake8
run: flake8 ./patterns --count --show-source --statistics
continue-on-error: true
Expand Down
34 changes: 28 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,24 +1,46 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
requires = ["setuptools >= 77.0.3"]
Comment thread
grimley517 marked this conversation as resolved.
build-backend = "setuptools.build_meta"

[project]
name = "patterns"
name = "python-patterns"
description = "A collection of design patterns and idioms in Python."
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
Comment thread
grimley517 marked this conversation as resolved.
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies= [
]

maintainers=[
{ name="faif" }
]

[project.urls]
Homepage = "https://github.com/faif/python-patterns"
Repository = "https://github.com/faif/python-patterns"
"Bug Tracker" = "https://github.com/faif/python-patterns/issues"
Contributors = "https://github.com/faif/python-patterns/graphs/contributors"

[project.optional-dependencies]
dev = ["pytest", "pytest-cov", "pytest-randomly", "flake8", "mypy", "coverage"]
dev = [
Comment thread
grimley517 marked this conversation as resolved.
"mypy",
"pipx>=1.7.1",
"pyupgrade",
"pytest>=6.2.0",
"pytest-cov>=2.11.0",
"pytest-randomly>=3.1.0",
"black>=25.1.0",
"build>=1.2.2",
"isort>=5.7.0",
"flake8>=7.1.0",
"tox>=4.25.0"
]

[tool.setuptools]
packages = ["patterns"]
Expand Down
9 changes: 0 additions & 9 deletions requirements-dev.txt

This file was deleted.

14 changes: 0 additions & 14 deletions setup.py

This file was deleted.

Loading