Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> python >> python3-flake8-class-newline
aramo  ]
[ 原始碼: flake8-class-newline  ]

套件: python3-flake8-class-newline (1.6.0-2)

flake8 extension to lint for a method newline after a Class definition

PEP8 recommends surrounding every class method with a single blank line. See https://www.python.org/dev/peps/pep-0008/#blank-lines However flake8 is ambiguous about the first method having a blank line above it.

This plugin was made to enforce the blank line just after the method declaration.

其他與 python3-flake8-class-newline 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-flake8
    code checker using pycodestyle and pyflakes - Python 3.x
  • enh: flake8
    code checker using pycodestyle and pyflakes

下載 python3-flake8-class-newline

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4.5 kB26 kB [文件列表]