File: testcase.py

package info (click to toggle)
flake8-class-newline 1.6.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: python: 189; sh: 28; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class AClassWithoutANewLine(object):
    def a_method(self):
        return 'a_value'


class AClassWithoutANewLineProperty(object):
    @property
    def a_method(self):
        return 'a_value'


class AClassWithANewLine(object):

    def a_method(self):
        return 'a_value'


class AClassWithANewLineProperty(object):

    @property
    def a_method(self):
        return 'a_value'