This repository was archived by the owner on Nov 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 18
18
# If extensions (or modules to document with autodoc) are in another directory,
19
19
# add these directories to sys.path here. If the directory is relative to the
20
20
# documentation root, use os.path.abspath to make it absolute, like shown here.
21
- sys .path .insert (0 , os .path .join (os .path .abspath ( '.' ), '..' ))
21
+ sys .path .insert (0 , os .path .join (os .path .dirname ( __file__ ), '..' ))
22
22
23
23
# -- General configuration ------------------------------------------------
24
24
266
266
issuetracker = 'github'
267
267
issuetracker_project = 'GreenSteam/pep257'
268
268
269
+
269
270
def generate_error_code_table ():
270
- from .. pep257 import ErrorRegistry
271
+ from pep257 import ErrorRegistry
271
272
with open (os .path .join ('snippets' , 'error_code_table.rst' ), 'wt' ) as outf :
272
273
outf .write (ErrorRegistry .to_rst ())
273
274
Original file line number Diff line number Diff line change @@ -5,7 +5,12 @@ Release Notes
5
5
Current Development Version
6
6
---------------------------
7
7
8
- Nothing here yet!
8
+ New Features
9
+
10
+ * Added the D104 error code - "Missing docstring in public package". This new
11
+ error is turned on by default. Missing docstring in `__init__.py ` files which
12
+ previously resulted in D100 errors ("Missing docstring in public module")
13
+ will now result in D104 (#105, #127).
9
14
10
15
11
16
0.6.0 - July 20th, 2015
You can’t perform that action at this time.
0 commit comments