Skip to content

Commit

Permalink
QE-11629 fix authors and urls (#531)
Browse files Browse the repository at this point in the history
- chore - fix pyproject.toml authors and urls
- change - add pre-commit to makefile
  • Loading branch information
ddl-cedricyoung authored Sep 30, 2024
1 parent 2197c4a commit 18eeda9
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ repos:
- repo: local
hooks:
- id: makefile
name: run make lint
name: run make ci-lint
entry: make
args: ["lint"]
args: ["ci-lint"]
language: system
pass_filenames: false
verbose: true
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project closely adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.1
- chore - fix pyproject.toml authors and urls
- change - add pre-commit to makefile

## 1.0.0
- change to 1.0.0!
- chore - fix GH workflow for test publish
Expand Down
14 changes: 13 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ setup: src/*

fix:
# make fix
uv sync
uv run ruff format .
uv run ruff check . --fix
uv run cucu lint --fix features
Expand All @@ -23,6 +24,17 @@ lint:
# make lint
# lint code
uv run ruff check .
# pre-commit
SKIP=makefile uv run pre-commit run --show-diff-on-failure --from-ref origin/HEAD --to-ref HEAD
# lint .feature files
uv run cucu lint features

ci-lint:
# make ci-lint
# only for use by CI through pre-commit
# lint code
uv run ruff check .
# don't run pre-commit since CI already did
# lint .feature files
uv run cucu lint features

Expand Down Expand Up @@ -55,4 +67,4 @@ coverage: src/* tests/*
echo "open HTML coverage report at htmlcov/index.html"

# disable caching for all make targets
.PHONY: all help format lint test build coverage
.PHONY: all help format lint ci-lint test build coverage
25 changes: 21 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
[project]
name = "cucu"
version = "1.0.0"
version = "1.0.1"
description = "Easy BDD web testing"
readme = "README.md"
license = { text = "The Clear BSD License" }
keywords = ["cucumber", "selenium", "behave"]
homepage = "https://github.com/dominodatalab/cucu"
repository = "https://github.com/dominodatalab/cucu"
authors = [{ name = "Domino Data Lab", email = "[email protected]" }]
authors = [
{name = "Domino Data Lab", email = "[email protected]"},
{name = "Rodney Gomes", email = "[email protected]"},
{name = "Cedric Young", email = "[email protected]"},
{name = "Xin Dong", email = "[email protected]"},
{name = "Kavya", email = "[email protected]"},
{name = "Kevin Garton", email = "[email protected]"},
{name = "Joy Liao", email = "[email protected]"},
]
maintainers = [
{name = "Domino Data Lab", email = "[email protected]"},
{name = "Cedric Young", email = "[email protected]"},
{name = "Kevin Garton", email = "[email protected]"},
{name = "Brian Colby", email = "[email protected]"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
Expand Down Expand Up @@ -52,6 +64,11 @@ dependencies = [
"tenacity~=9.0.0",
]

[project.urls]
Homepage = "https://github.com/dominodatalab/cucu"
Download = "https://pypi.org/project/cucu/"
"Source Code" = "https://github.com/dominodatalab/cucu"

[project.scripts]
cucu = "cucu.cli:main"

Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18eeda9

Please sign in to comment.