1 Star 0 Fork 0

endless/tnt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.flake8 569 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ananth Subramaniam 提交于 2022-07-30 00:56 +08:00 . Add pre-commit linter & formatter
[flake8]
# Suggested config from pytorch that we can adopt
select = B,C,E,F,P,T4,W,B9
max-line-length = 120
# C408 ignored because we like the dict keyword argument syntax
# E501 is not flexible enough, we're using B950 instead
ignore =
E203,E305,E402,E501,E721,E741,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303,
# shebang has extra meaning in fbcode lints, so I think it's not worth trying
# to line this up with executable bit
EXE001,
optional-ascii-coding = True
exclude =
./.git,
./docs
./build
./scripts,
./venv,
*.pyi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/endlesshh/tnt.git
git@gitee.com:endlesshh/tnt.git
endlesshh
tnt
tnt
master

搜索帮助