Skip to content

Commit

Permalink
Add .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
James tufarelli committed Nov 30, 2023
1 parent ab6ffd3 commit 071414f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.devcontainer
.git
.github
.pytest_cache
# app
htmlcov
test
.coverage
.gitignore
.pre-commit-config.yaml
docker-compose.yml
# Dockerfile
# headerrc-default.yml
LICENSE
pyproject.toml
README.md
requirements-dev.txt
# requirements.txt

__pycache__
*.log
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def _add_header_to_file(
skip_index = 0
if skip_prefixes:
if self.verbose:
cprint(f"skip_lines_that_start_with enabled for {file_path}" "yellow")
cprint(f"skip_lines_that_start_with enabled for {file_path}", "yellow")

for i, line in enumerate(lines):
for pattern in skip_prefixes:
Expand Down

0 comments on commit 071414f

Please sign in to comment.