瀏覽代碼

Remove PyLint Fail Under

This functionality is included in pylint since 2.5.0 and the plugin is
broken
master
Nate Bohman 2 年之前
父節點
當前提交
ba11d58d0f
簽署人: Nate Bohman <natrinicle@gmail.com> GPG 金鑰 ID: C10546A54ABA1CE5
共有 2 個檔案被更改,包括 1 行新增3 行删除
  1. +0
    -1
      {{cookiecutter.project_slug}}/requirements/test.txt
  2. +1
    -2
      {{cookiecutter.project_slug}}/tox.ini

+ 0
- 1
{{cookiecutter.project_slug}}/requirements/test.txt 查看文件

@@ -7,7 +7,6 @@ mock
pygments
pylint==1.9.4; python_version >= "2.7" and python_version < "3.0"
pylint; python_version >= "3.4"
pylint-fail-under
pytest
pytest-asyncio
pytest-cov

+ 1
- 2
{{cookiecutter.project_slug}}/tox.ini 查看文件

@@ -63,10 +63,9 @@ commands =
deps =
pylint==1.9.4; python_version >= "2.7" and python_version < "3.0"
pylint; python_version >= "3.4"
pylint-fail-under
skip_install = True
commands =
pylint-fail-under --rcfile=.pylintrc --fail_under 9.5 {{ cookiecutter.project_slug }}
pylint --rcfile=.pylintrc --fail-under 9.5 {{ cookiecutter.project_slug }}

[testenv:bandit]
deps =

Loading…
取消
儲存