@@ -13,11 +13,16 @@ New Features
13
13
classes are considered public if their names are not prepended with an
14
14
underscore and if their parent class is public, recursively (#13, #146).
15
15
16
+ * Added the D403 error code - "First word of the first line should be
17
+ properly capitalized". This new error is turned on by default (#164, #165).
16
18
17
19
Bug Fixes
18
20
19
- * Fixed an issue where a `NameError ` was raised when parsing complex defintions
20
- of `__all__ ` (#142, #143).
21
+ * Fixed an issue where a ``NameError `` was raised when parsing complex defintions
22
+ of ``__all__ `` (#142, #143).
23
+
24
+ * Fixed a bug where D202 was falsely reported when a function with just a
25
+ docstring and no content was followed by a comment (#165).
21
26
22
27
23
28
0.7.0 - October 9th, 2015
@@ -26,21 +31,21 @@ Bug Fixes
26
31
New Features
27
32
28
33
* Added the D104 error code - "Missing docstring in public package". This new
29
- error is turned on by default. Missing docstring in `__init__.py ` files which
34
+ error is turned on by default. Missing docstring in `` __init__.py ` ` files which
30
35
previously resulted in D100 errors ("Missing docstring in public module")
31
36
will now result in D104 (#105, #127).
32
37
33
38
* Added the D105 error code - "Missing docstring in magic method'. This new
34
39
error is turned on by default. Missing docstrings in magic method which
35
40
previously resulted in D102 error ("Missing docstring in public method")
36
41
will now result in D105. Note that exceptions to this rule are variadic
37
- magic methods - specifically `__init__ `, `__call__ ` and `__new__ `, which
42
+ magic methods - specifically `` __init__ `` , `` __call__ `` and `` __new__ ` `, which
38
43
will be considered non-magic and missing docstrings in them will result
39
44
in D102 (#60, #139).
40
45
41
46
* Support the option to exclude all error codes. Running pep257 with
42
- `--select= ` (or `select= ` in the configuration file) will exclude all errors
43
- which could then be added one by one using `add-select `. Useful for projects
47
+ `` --select= `` (or `` select= ` ` in the configuration file) will exclude all errors
48
+ which could then be added one by one using `` add-select ` `. Useful for projects
44
49
new to pep257 (#132, #135).
45
50
46
51
* Added check D211: No blank lines allowed before class docstring. This change
0 commit comments