Skip to content

Commit c09baeb

Browse files
committed
fix missing newline on gend files
1 parent 1f5561a commit c09baeb

File tree

11 files changed

+12
-0
lines changed

11 files changed

+12
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ repos:
7272
- pyproject.toml
7373
types:
7474
- python
75+
exclude: templates/
7576

7677
- repo: https://github.com/pycqa/flake8
7778
rev: 6.1.0
@@ -81,6 +82,7 @@ repos:
8182
- --config=.cpa/flake8.cfg
8283
types:
8384
- python
85+
exclude: templates/
8486

8587
# - repo: https://github.com/astral-sh/ruff-pre-commit
8688
# rev: v0.1.4

templates/.cpa/flake8.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ max-complexity = 18
7070
# The maximum allowed line length.
7171
max-line-length = 120
7272
# per-file-ignores = # Per-file-ignores setting can be used to ignore specific errors in specific files.
73+

templates/.cpa/prettier.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
"tabWidth": 2,
66
"trailingComma": "all"
77
}
8+

templates/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,4 @@ Cargo.lock
187187
# Misc
188188
##########################################################################################
189189
tmp*
190+

templates/.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,4 @@ repos:
111111
- javascript
112112
- yaml
113113
- markdown
114+

templates/.vscode/extensions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
"ms-python.flake8"
88
]
99
}
10+

templates/.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
"flake8.args": ["--config=.cpa/flake8.cfg"],
88
"files.insertFinalNewline": true
99
}
10+

templates/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ RUN pip install --no-cache-dir -r requirements.txt
99
COPY . .
1010

1111
CMD ["python", "./main.py"]
12+

templates/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ endif
2323
.PHONY: reqtxt
2424
reqtxt:
2525
poetry export -f requirements.txt --output requirements.txt --without-hashes
26+

templates/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
print("Hello World")
2+

0 commit comments

Comments
 (0)