Skip to content

Commit 87ab7fa

Browse files
Merge pull request #25 from openlawlibrary/release/0.9.0
2 parents 1b7995d + 6925ca7 commit 87ab7fa

4 files changed

Lines changed: 29 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,21 @@ and this project adheres to a _modified_ form of _[Semantic Versioning][semver]_
1010

1111
### Added
1212

13+
### Changed
14+
15+
### Fixed
16+
17+
### Removed
18+
19+
## [0.9.0]
20+
21+
### Added
22+
1323
### Changed
1424
- Migrate packaging metadata to `pyproject.toml` / PEP 517 build backend ([#24])
1525
- Prefer `uv pip` for installs (fall back to `pip` when `uv` is unavailable) ([#24])
1626
- Run CI tests in an isolated `uv` virtualenv instead of installing into the runner environment ([#24])
27+
- Migrate flake8 config to pyproject.toml instead of setup.cfg ([#26])
1728

1829
### Fixed
1930

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,12 @@ Run tests:
1515
pytest upgrade/tests
1616
```
1717

18+
Run lint (optional):
19+
20+
```sh
21+
flake8
22+
```
23+
24+
(Flake8 configuration lives in `pyproject.toml` and is loaded via `flake8-pyproject`.)
25+
1826
Note: the upgrade scripts prefer `uv pip` for install/uninstall operations when `uv` is available, and fall back to `python -m pip` otherwise.

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ dev = [
4646
test = [
4747
"build",
4848
"flake8",
49+
"flake8-pyproject",
4950
"pytest",
5051
"mock",
5152
"setuptools",
@@ -70,3 +71,12 @@ include = ["upgrade*"]
7071
[tool.setuptools_scm]
7172
write_to = "upgrade/_version.py"
7273
write_to_template = "__version__ = \"{version}\"\n"
74+
75+
[tool.flake8]
76+
max-line-length = 100
77+
exclude = [
78+
".git",
79+
".eggs",
80+
"build",
81+
"venv",
82+
]

setup.cfg

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

0 commit comments

Comments
 (0)