1 Star 1 Fork 0

小荷才露尖尖角/IQA-PyTorch

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
chaofengc 提交于 2022-03-19 20:56 . Change default stride=27 for pieapp
repos:
# flake8
- repo: https://github.com/PyCQA/flake8
rev: 3.8.2
hooks:
- id: flake8
args: [
--max-line-length, "120",
"--max-complexity", "10",
"--ignore", "W293,W503,W504,E126,E741",
"--exclude", ".git,__pycache__",
]
# yapf
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
# codespell
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
args: ["--ignore-words-list", "ist"]
# pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace # Trim trailing whitespace
- id: check-yaml # Attempt to load all yaml files to verify syntax
- id: check-merge-conflict # Check for files that contain merge conflict strings
- id: double-quote-string-fixer # Replace double quoted strings with single quoted strings
- id: end-of-file-fixer # Make sure files end in a newline and only a newline
- id: requirements-txt-fixer # Sort entries in requirements.txt and remove incorrect entry for pkg-resources==0.0.0
- id: fix-encoding-pragma # Remove the coding pragma: # -*- coding: utf-8 -*-
args: ["--remove"]
- id: mixed-line-ending # Replace or check mixed line ending
args: ["--fix=lf"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Heconnor/IQA-PyTorch.git
[email protected]:Heconnor/IQA-PyTorch.git
Heconnor
IQA-PyTorch
IQA-PyTorch
main

搜索帮助