This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.ruff] | |
line-length = 120 | |
select = [ | |
# "D", # pydocstyle | |
"F", # Pyflakes | |
"I", # isort | |
"N", # pep8-naming | |
"RUF", # Ruff-specific rules | |
"UP", # pyupgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run: | |
# timeout for analysis, e.g. 30s, 5m, default is 1m | |
timeout: 10m | |
# exit code when at least one issue was found, default is 1 | |
issues-exit-code: 1 | |
# include test files or not, default is true | |
tests: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.6 as nginx | |
RUN apk add --no-cache nginx-mod-http-lua | |
RUN rm -r /etc/nginx/conf.d && rm /etc/nginx/nginx.conf | |
# Create folder for PID file | |
RUN mkdir -p /run/nginx | |
COPY ./nginx.conf /etc/nginx/nginx.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: v3.2.0 | |
hooks: | |
- id: end-of-file-fixer | |
- id: trailing-whitespace | |
- id: check-case-conflict | |
- id: check-yaml | |
- id: requirements-txt-fixer | |
- id: pretty-format-json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Sample /etc/sudoers file. | |
# | |
# This file MUST be edited with the 'visudo' command as root. | |
# | |
# See the sudoers man page for the details on how to write a sudoers file. | |
## | |
# Override built-in defaults | |
## |