Skip to content

Commit b89222f

Browse files
committed
fix: Update package metadata to include license and ensure PyPI compatibility, bumping version to 0.1.1.
1 parent d5451b0 commit b89222f

File tree

10 files changed

+13
-119
lines changed

10 files changed

+13
-119
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
dist/
1+
dist/
2+
color_contrast_linter.egg-info/

RELEASE_NOTES.md

Lines changed: 8 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,16 @@
1-
# Release Notes - v0.1.0
1+
# Release Notes - v0.1.1
22

3-
## Initial Release
3+
## Maintenance Release
44

5-
We are excited to announce the first release of **Color Contrast Linter**, a CLI tool designed to automate WCAG color contrast compliance checks in your development workflow.
5+
This release includes minor metadata updates to ensure better distribution and compliance.
66

7-
### Key Features
7+
### Changes
88

9-
- **Automated Linting**: Check color pairs against WCAG AA and AAA standards.
10-
- **Configurable**: Define your color pairs and contrast requirements in a simple `.color_pairs.yml` file.
11-
- **CLI Commands**:
12-
- `cc-lint init`: Generate a starter configuration file.
13-
- `cc-lint lint`: Run the contrast check on your configured pairs.
14-
- **CI/CD Ready**: Easily integrate into GitHub Actions or other CI pipelines to prevent accessibility regressions.
15-
- **Rich Output**: Clear, color-coded terminal output powered by `rich`.
9+
- **License Inclusion**: The `LICENSE` file is now explicitly included in the package metadata, ensuring it is distributed with the package.
10+
- **PyPI Compatibility**: Fixed package naming convention to ensure smooth uploads to PyPI.
1611

17-
### Installation
12+
### Upgrading
1813

1914
```bash
20-
pip install color-contrast-linter
15+
pip install --upgrade color-contrast-linter
2116
```
22-
23-
### Quick Start
24-
25-
1. Initialize configuration:
26-
```bash
27-
cc-lint init
28-
```
29-
2. Run the linter:
30-
```bash
31-
cc-lint lint
32-
```
33-
34-
### Dependencies
35-
36-
- `cm-colors >= 0.5.0`
37-
- `click`
38-
- `rich`
39-
- `pyyaml`

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "color_contrast_linter"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "Automated WCAG color contrast linter for accessibility compliance in CI/CD pipelines."
99
readme = "README.md"
10+
license = { file = "LICENSE" }
1011
requires-python = ">=3.8"
1112
dependencies = [
1213
"cm-colors>=0.5.0",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="color_contrast_linter",
5-
version="0.1.0",
5+
version="0.1.1",
66
description="Automated WCAG color contrast linter for accessibility compliance in CI/CD pipelines.",
77
long_description=open("README.md").read(),
88
long_description_content_type="text/markdown",

src/color_contrast_linter.egg-info/PKG-INFO

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

src/color_contrast_linter.egg-info/SOURCES.txt

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

src/color_contrast_linter.egg-info/dependency_links.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/color_contrast_linter.egg-info/entry_points.txt

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

src/color_contrast_linter.egg-info/requires.txt

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

src/color_contrast_linter.egg-info/top_level.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)