Skip to content

Commit 161a33b

Browse files
committed
docs: add CHANGELOG; badges and black check; dev extras
1 parent 3f1f0fd commit 161a33b

4 files changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
python-version: '3.11'
1313
- run: python -m pip install --upgrade pip
1414
- run: pip install -e .[dev]
15+
- name: Black check
16+
run: |
17+
python -m black --check .
1518
- name: Lint import
1619
run: python -c "import flakewall; print(flakewall.__version__)"
1720
- name: CLI smoke

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## v0.1.0
4+
- Initial release
5+
- Commands: `init`, `report`, `guard`, `score`, `auto-quarantine`, `retry` (pytest/jest)
6+
- JSON output for `score` and `retry`
7+
- CI examples (GitHub Actions, GitLab, CircleCI, Azure Pipelines, Jenkins)
8+
- Release workflow (tags `v*`)

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# flakewall
22

33
[![CI](https://github.com/Cicatriiz/flakewall/actions/workflows/ci.yml/badge.svg)](https://github.com/Cicatriiz/flakewall/actions/workflows/ci.yml)
4+
[![PyPI](https://img.shields.io/pypi/v/flakewall.svg)](https://pypi.org/project/flakewall/)
5+
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
46
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
57
[![Python](https://img.shields.io/badge/python-3.9%2B-blue.svg)](pyproject.toml)
68

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,14 @@ dev = [
4141
"tox>=4.0",
4242
"build>=1.2",
4343
"twine>=5.0",
44+
"black>=24.0",
4445
]
4546

4647
[tool.setuptools]
4748
packages = {find = {}}
4849

50+
[tool.black]
51+
line-length = 100
52+
target-version = ["py39", "py310", "py311", "py312"]
53+
4954

0 commit comments

Comments
 (0)