Skip to content

Commit

Permalink
More project_name -> package_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Panchenko committed Apr 29, 2024
1 parent a34b296 commit 5b6abf7
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/docs/autogen_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def make_rst(src_root, rst_root, clean=False, overwrite=False, package_prefix=""
logging.basicConfig(level=logging.INFO)
docs_root = Path(__file__).parent
make_rst(
docs_root / ".." / "src" / "{{cookiecutter.project_name}}",
docs_root / ".." / "src" / "{{cookiecutter.package_name}}",
docs_root / "03_api",
clean=True,
)
1 change: 1 addition & 0 deletions {{cookiecutter.project_name}}/docs/spelling_wordlist.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{{cookiecutter.project_name}}
{{cookiecutter.package_name}}
{{cookiecutter.author}}
{{cookiecutter.github_username}}

appliedAI
autogenerated
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ move-optionals-to-bottom = true
PYDEVD_DISABLE_FILE_VALIDATION="1"
# keep relevant parts in sync with pre-commit
[tool.poe.tasks] # https://github.com/nat-n/poethepoet
test = "pytest test --cov={{cookiecutter.project_name}} --cov-report=xml --cov-report=term-missing --durations=0 -v --color=yes"
test = "pytest test --cov={{cookiecutter.package_name}} --cov-report=xml --cov-report=term-missing --durations=0 -v --color=yes"
# Adjust to a smaller set of tests if appropriate
test-subset = "pytest test --color=yes"
_black_check = "black --check ."
Expand Down

0 comments on commit 5b6abf7

Please sign in to comment.