Skip to content
Snippets Groups Projects
Commit baea7eef authored by Jairo Llopis's avatar Jairo Llopis Committed by Jairo Llopis
Browse files

Allow commits to master

This will fix CI when being run in master.

See https://github.com/Tecnativa/docker-socket-proxy/runs/1529426822.
parent e84babd1
No related branches found
No related tags found
No related merge requests found
# Changes here will be overwritten by Copier; do NOT edit manually # Changes here will be overwritten by Copier; do NOT edit manually
_commit: v0.1.0a5 _commit: v0.1.0a6
_src_path: https://github.com/copier-org/autopretty.git _src_path: https://github.com/copier-org/autopretty.git
ansible: false ansible: false
biggest_kbs: 0 biggest_kbs: 0
github: true github: true
js: false js: false
protected_branches: protected_branches: []
- master
python: true python: true
...@@ -4,6 +4,7 @@ on: ...@@ -4,6 +4,7 @@ on:
pull_request: pull_request:
push: push:
branches: branches:
- main
- master - master
jobs: jobs:
......
...@@ -10,34 +10,6 @@ repos: ...@@ -10,34 +10,6 @@ repos:
entry: found forbidden files; remove them entry: found forbidden files; remove them
language: fail language: fail
files: "\\.rej$" files: "\\.rej$"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
args:
- --fix=lf
- id: no-commit-to-branch
args:
- --branch=master
- id: trailing-whitespace
- id: check-ast
- id: check-builtin-literals
- id: check-docstring-first
- id: debug-statements
- id: fix-encoding-pragma
args:
- --remove
- id: requirements-txt-fixer
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.1.2 rev: v2.1.2
hooks: hooks:
...@@ -87,3 +59,28 @@ repos: ...@@ -87,3 +59,28 @@ repos:
# ignore unused imports in __init__.py # ignore unused imports in __init__.py
- --extend-ignore=F401 - --extend-ignore=F401
files: /__init__\.py$ files: /__init__\.py$
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
args:
- --fix=lf
- id: trailing-whitespace
- id: check-ast
- id: check-builtin-literals
- id: check-docstring-first
- id: debug-statements
- id: fix-encoding-pragma
args:
- --remove
- id: requirements-txt-fixer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment