Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:

- name: Run tests
run: |
pytest cpk_lib_python_github/github_app_token_generator_package/tests/ -v
pytest cpk_lib_python_github/tests/ -v

- name: Run tests with coverage
run: |
pytest cpk_lib_python_github/github_app_token_generator_package/tests/ \
--cov=cpk_lib_python_github.github_app_token_generator_package.github_app_token_generator \
pytest cpk_lib_python_github/tests/ \
--cov=cpk_lib_python_github.github_app_token_generator \
--cov-report=term-missing

test-installation:
Expand Down
8 changes: 4 additions & 4 deletions cpk_lib_python_github/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# -*- coding: utf-8 -*-
"""CPK Lib Python GitHub - GitHub App Token Generator Package."""

from .github_app_token_generator_package.github_app_token_generator import (
from .github_app_token_generator import (
token_manager,
)
from .github_app_token_generator_package.github_app_token_generator.config import (
from .github_app_token_generator.config import (
Config,
)
from .github_app_token_generator_package.github_app_token_generator.formatters import (
from .github_app_token_generator.formatters import (
OutputFormatter,
)
from .github_app_token_generator_package.github_app_token_generator.github_api import (
from .github_app_token_generator.github_api import (
GitHubAPIClient,
)

Expand Down

This file was deleted.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Issues = "https://github.com/cpk/cpk-lib-python-github/issues"
Documentation = "https://github.com/cpk/cpk-lib-python-github#readme"

[project.entry-points."console_scripts"]
github-app-token-generator = "cpk_lib_python_github.github_app_token_generator_package.github_app_token_generator.main:main"
github-app-token-generator = "cpk_lib_python_github.github_app_token_generator.main:main"

[project.optional-dependencies]
dep = [
Expand All @@ -78,7 +78,7 @@ dev = [

[tool.pytest.ini_options]
testpaths = [
"cpk_lib_python_github/github_app_token_generator_package/tests"
"cpk_lib_python_github/tests"
]
python_files = ["test_*.py"]
python_classes = ["Test*"]
Expand All @@ -87,7 +87,7 @@ addopts = [
"--strict-markers",
"--strict-config",
"--verbose",
"--cov=cpk_lib_python_github.github_app_token_generator_package.github_app_token_generator",
"--cov=cpk_lib_python_github.github_app_token_generator",
"--cov-report=term-missing",
"--cov-report=html"
]
Expand Down