Skip to content

Commit

Permalink
fix: authors name change
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Apr 25, 2023
1 parent b1f5c08 commit 541c226
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 73 deletions.
1 change: 0 additions & 1 deletion .github/workflows/lint_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
- name: Run unit-tests
run: |
set -o pipefail
make scm-version
make tests-cov-fail
# add content to GitHub summary
Expand Down
9 changes: 3 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ run: ## run the main script
##@ Testing

.PHONY: tests
tests: scm-version ## run tests with pytest
tests: ## run tests with pytest
@poetry run pytest --doctest-modules

.PHONY: tests-cov
tests-cov: scm-version ## run tests with pytest and show coverage (terminal + html)
tests-cov: ## run tests with pytest and show coverage (terminal + html)
@poetry run pytest --doctest-modules --cov=src --cov-report term-missing --cov-report=html

.PHONY: scm-version tests-cov-fail
.PHONY: tests-cov-fail
tests-cov-fail: ## run unit tests with pytest and show coverage (terminal + html) & fail if coverage too low & create files for CI
@poetry run pytest --doctest-modules --cov=src --cov-report term-missing --cov-report=html --cov-fail-under=80 --junitxml=pytest.xml | tee pytest-coverage.txt

Expand Down Expand Up @@ -132,9 +132,6 @@ prerelease-noop: ## release a pre-release without changing anything
prerelease-ci: ## release a pre-release in CI
@poetry run semantic-release publish --prerelease -v DEBUG -D commit_author="github-actions <action@github.com>"

scm-version: ## returns the version from the setuptools_scm
@poetry run python -m setuptools_scm

build: ## build the package
@poetry build

Expand Down
85 changes: 23 additions & 62 deletions poetry.lock

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

7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ version = "0.2.13"
description = "Hydra Fast Interface (Hydra and Pydantic based interface framework)"
authors = ["Young Joon Lee <entelecheia@hotmail.com>"]
license = "MIT"
homepage = "https://hyfi.entelecheia.ai"
repository = "https://github.com/entelecheia/hyfi"
readme = "README.md"
packages = [{ include = "hyfi", from = "src" }]

Expand Down Expand Up @@ -38,7 +40,6 @@ ipython = ["ipython", "ipython-autotime", "rich", "pygments"]

[tool.poetry.group.dev.dependencies]
python-semantic-release = "^7.33.1"
setuptools-scm = "^7.1.0"
isort = "^5.12.0"
black = "^23.1.0"
flake8 = "^6.0.0"
Expand Down Expand Up @@ -164,5 +165,5 @@ build_command = "poetry build --no-cache"
hvcs = "github" # hosting version control system, gitlab is also supported

[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = 'setuptools.build_meta'
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2 changes: 1 addition & 1 deletion src/hyfi/conf/hydra/help/help.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ footer: |-
template: |-
${hydra.help.header}
author: ${about.author}
authors: ${about.authors}
description: ${about.description}
${hydra.help.app_name} Command Line Interface for Hydra
Expand Down

0 comments on commit 541c226

Please sign in to comment.