Compare commits

..

No commits in common. "d0015a66e5fb356e9cdaa1e248c7759c66529781" and "d6bb4e712b0a2c7b82f203dd893ddf2e06eb4386" have entirely different histories.

3 changed files with 9 additions and 29 deletions

8
.gitignore vendored
View File

@ -1,10 +1,6 @@
# Editor swap files
*~*
*.swp
*.tmp
# .gitlab-ci.yml pre-commit directory
.cache/**
# Symlink
wwwuser
openbox/*
install.run

View File

@ -1,16 +0,0 @@
# Based on https://pre-commit.com
image: python:alpine
gitlab-ci-pre-commit:
stage: build
before_script:
- apk add --no-cache git gcc musl-dev go
- pip install pre-commit
script:
- pre-commit run --all-files --show-diff-on-failure
variables:
# Remember to gitignore .cache/**
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
TERM: dumb
cache:
paths:
- ${PRE_COMMIT_HOME}

View File

@ -43,13 +43,13 @@ repos:
# - id: mypy
# GitHub Actions etc. configuration validity checking
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.0
hooks:
# - repo: https://github.com/python-jsonschema/check-jsonschema
# rev: 0.23.0
# hooks:
# - id: check-dependabot
# - id: check-github-actions
# - id: check-github-workflows
- id: check-gitlab-ci
# - id: check-gitlab-ci
# - repo: https://github.com/jumanjihouse/pre-commit-hooks
# rev: 3.0.0