Ai
1 Star 0 Fork 0

ding/python-lekin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.cfg 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
LongxingTan 提交于 2024-07-31 15:07 +08:00 . init
[flake8]
max-line-length = 120
show-source = true
ignore =
# space before : (needed for how black formats slicing)
E203,
# line break before binary operator
W503,
# line break after binary operator
W504,
# module level import not at top of file
E402,
# do not assign a lambda expression, use a def
E731,
# ignore not easy to read variables like i l I etc.
E741,
# Unnecessary list literal - rewrite as a dict literal.
C406,
# Unnecessary dict call - rewrite as a literal.
C408,
# Unnecessary list passed to tuple() - rewrite as a tuple literal.
C409,
# found modulo formatter (incorrect picks up mod operations)
S001,
# unused imports
F401
exclude = docs/build/*.py,
node_modules/*.py,
.eggs/*.py,
versioneer.py,
venv/*,
.venv/*,
.git/*
.history/*
[isort]
profile = black
honor_noqa = true
line_length = 120
combine_as_imports = true
force_sort_within_sections = true
known_first_party = pytorch_forecasting
[tool:pytest]
addopts =
-rsxX
-vv
--last-failed
--cov=pytorch_forecasting
--cov-report=html
--cov-config=setup.cfg
--cov-report=term-missing:skip-covered
--no-cov-on-fail
-n0
testpaths = tests/
log_cli_level = ERROR
markers =
[coverage:report]
ignore_errors = False
show_missing = true
[mypy]
ignore_missing_imports = true
no_implicit_optional = true
check_untyped_defs = true
cache_dir = .cache/mypy/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dinghangLoop_admin/python-lekin.git
git@gitee.com:dinghangLoop_admin/python-lekin.git
dinghangLoop_admin
python-lekin
python-lekin
master

搜索帮助