Skip to content

Commit 821983b

Browse files
committed
Apply src_layout
1 parent bec7ea4 commit 821983b

155 files changed

Lines changed: 14 additions & 12 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__pycache__/
33
build/
44
tests/cli.toml
5-
pytest_pulp_cli/GPG-PRIVATE-KEY-fixture-signing
5+
GPG-PRIVATE-KEY-fixture-signing
66
site/
77
dist/
88
*.po~

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
LANGUAGES=de
3-
GLUE_PLUGINS=$(notdir $(wildcard pulp-glue/pulp_glue/*))
4-
CLI_PLUGINS=$(notdir $(wildcard pulpcore/cli/*))
3+
GLUE_PLUGINS=$(notdir $(wildcard pulp-glue/src/pulp_glue/*))
4+
CLI_PLUGINS=$(notdir $(wildcard src/pulpcore/cli/*))
55

66
.PHONY: info
77
info:
@@ -26,7 +26,7 @@ lint:
2626
ruff format --check --diff
2727
ruff check --diff
2828
.ci/scripts/check_click_for_mypy.py
29-
MYPYPATH=pulp-glue mypy
29+
mypy
3030
cd pulp-glue; mypy
3131
@echo "🙊 Code 🙈 LGTM 🙉 !"
3232

pulp-glue/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ changelog = "https://pulpproject.org/pulp-cli/changes/"
3535

3636
[tool.setuptools.packages.find]
3737
# This section is managed by the cookiecutter templates.
38-
where = ["."]
38+
where = ["src"]
3939
include = ["pulp_glue.*"]
4040
namespaces = true
4141

@@ -49,7 +49,8 @@ namespaces = true
4949
strict = true
5050
warn_unused_ignores = false
5151
show_error_codes = true
52-
files = "pulp_glue/**/*.py, tests/**/*.py"
52+
files = "src/**/*.py, tests/**/*.py"
53+
mypy_path = ["src"]
5354
namespace_packages = true
5455
explicit_package_bases = true
5556

File renamed without changes.
File renamed without changes.

pulp-glue/pulp_glue/ansible/locale/de/LC_MESSAGES/messages.mo renamed to pulp-glue/src/pulp_glue/ansible/locale/de/LC_MESSAGES/messages.mo

File renamed without changes.

pulp-glue/pulp_glue/ansible/locale/de/LC_MESSAGES/messages.po renamed to pulp-glue/src/pulp_glue/ansible/locale/de/LC_MESSAGES/messages.po

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)