You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ Generate a `.pylintrc` file by executing `pylint --generate-rcfile`.
20
20
Then add `pylintfileheader` to the plugins to load and set the `file-header` option to the [regular expression](https://docs.python.org/3/library/re.html#regular-expression-syntax) that the file header should match.
21
21
When the `file-header` setting is omitted, pylint will pass.
22
22
23
+
### Options
24
+
25
+
*`file-header` is a regexp representing the file header that should be on top of a file.
26
+
*`file-header-path` is the path to the file that contains the header. This is useful in case of long, multi-line headers, such as copyrights.
23
27
*`file-header-ignore-empty-files` turns on the mode of ignoring the empty files, like `__init__.py`. The default value is `False`.
0 commit comments