updates
This commit is contained in:
parent
f7e260a355
commit
2717f4f6e5
88 changed files with 440 additions and 2806 deletions
23
.pre-commit-config.yaml
Normal file
23
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# -*- mode: yaml; indent-tabs-mode: nil; tab-width: 2; coding: utf-8-unix -*-
|
||||
---
|
||||
|
||||
default_language_version:
|
||||
python: python3.11
|
||||
default_stages: [pre-commit]
|
||||
fail_fast: true
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pylint
|
||||
name: pylint
|
||||
entry: env PYTHONPATH=/mnt/o/var/local/src/toxygen.git/toxygen toxcore_pylint.bash
|
||||
language: system
|
||||
types: [python]
|
||||
args:
|
||||
[
|
||||
"--source-roots=/mnt/o/var/local/src/toxygen.git/toxygen",
|
||||
"-rn", # Only display messages
|
||||
"-sn", # Don't display the score
|
||||
"--rcfile=/usr/local/etc/testforge/pylint.rc", # Link to your config file
|
||||
"-E"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue