mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-19 12:47:27 +02:00
Compare commits
3 Commits
ca2956b678
...
5c9d51386c
Author | SHA1 | Date | |
---|---|---|---|
5c9d51386c | |||
f29605cbcc | |||
a34ff238bf |
@ -57,7 +57,9 @@ max_line_length = 80
|
|||||||
[*.py]
|
[*.py]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
max_line_length = 79
|
#max_line_length = 79
|
||||||
|
# https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length
|
||||||
|
max_line_length = 88
|
||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
#[*.rb]
|
#[*.rb]
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
ci:
|
ci:
|
||||||
# Attempts to use networking and fails at name resolution
|
# Attempts to use networking and fails at name resolution, local hook
|
||||||
skip: [bundler-audit]
|
# skip: [bundler-audit, pylint]
|
||||||
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
||||||
# the frequency of unnecessary PRs.
|
# the frequency of unnecessary PRs.
|
||||||
# https://github.com/pre-commit-ci/issues/issues/83
|
# https://github.com/pre-commit-ci/issues/issues/83
|
||||||
@ -33,21 +33,27 @@ repos:
|
|||||||
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
# https://github.com/Mikaela/gist/blob/master/doctoc.txt
|
||||||
args: [--update-only, --notitle]
|
args: [--update-only, --notitle]
|
||||||
|
|
||||||
# GitHub Actions etc. configuration validity checking
|
# Python type checking
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
# - repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: 0.23.0
|
# rev: "v1.3.0"
|
||||||
hooks:
|
# hooks:
|
||||||
- id: check-dependabot
|
# - id: mypy
|
||||||
- id: check-github-actions
|
|
||||||
- id: check-github-workflows
|
|
||||||
- id: check-gitlab-ci
|
|
||||||
|
|
||||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
# GitHub Actions etc. configuration validity checking
|
||||||
rev: 3.0.0
|
# - repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
hooks:
|
# rev: 0.23.0
|
||||||
- id: bundler-audit
|
# hooks:
|
||||||
# https://github.com/jumanjihouse/pre-commit-hooks/issues/111
|
# - id: check-dependabot
|
||||||
#- id: check-mailmap
|
# - id: check-github-actions
|
||||||
|
# - id: check-github-workflows
|
||||||
|
# - id: check-gitlab-ci
|
||||||
|
|
||||||
|
# - repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||||
|
# rev: 3.0.0
|
||||||
|
# hooks:
|
||||||
|
# - id: bundler-audit
|
||||||
|
# https://github.com/jumanjihouse/pre-commit-hooks/issues/111
|
||||||
|
#- id: check-mailmap
|
||||||
|
|
||||||
# Easierish licensing when attempting reuse compliancy
|
# Easierish licensing when attempting reuse compliancy
|
||||||
#- repo: https://github.com/fsfe/reuse-tool
|
#- repo: https://github.com/fsfe/reuse-tool
|
||||||
@ -57,11 +63,19 @@ repos:
|
|||||||
|
|
||||||
# prettier & editorconfig checker should probably be ran last
|
# prettier & editorconfig checker should probably be ran last
|
||||||
|
|
||||||
# prettier
|
# prettier, opinionated code formatter
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||||
rev: "v3.0.0-alpha.9-for-vscode"
|
rev: "v3.0.0-alpha.9-for-vscode"
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
exclude_types: [python, pyi, jupyter]
|
||||||
|
|
||||||
|
# Black, opinionated Python code formatter
|
||||||
|
# - repo: https://github.com/psf/black
|
||||||
|
# rev: 23.3.0
|
||||||
|
# hooks:
|
||||||
|
# - id: black
|
||||||
|
#- id: black-jupyter
|
||||||
|
|
||||||
# .editorconfig validity checking
|
# .editorconfig validity checking
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
@ -71,3 +85,12 @@ repos:
|
|||||||
alias: ec
|
alias: ec
|
||||||
# I don't actually care about line lengths as more than a guideline
|
# I don't actually care about line lengths as more than a guideline
|
||||||
args: [-disable-max-line-length]
|
args: [-disable-max-line-length]
|
||||||
|
|
||||||
|
# # Python linter
|
||||||
|
# - repo: local
|
||||||
|
# hooks:
|
||||||
|
# - id: pylint
|
||||||
|
# name: pylint
|
||||||
|
# entry: pylint
|
||||||
|
# language: system
|
||||||
|
# types_or: [python, pyi]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user