Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
add pylintfileheader #74
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMay committed Jul 14, 2021
1 parent fdca23f commit 4594021
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ profile = "black"
lines_after_imports = 2
line_length = 99

[tool.pylint."MASTER"]
load-plugins = "pylintfileheader"
file-header = "(# Copyright \\(c\\) \\d{4} .*\\n)*# This software is distributed under the terms of the MIT license\\n# which is available at https://opensource.org/licenses/MIT\\n\\n"

[tool.pylint."MESSAGES CONTROL"]
disable = [
"too-many-arguments",
Expand Down
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@
"optuna",
]
extras_require = {
"checking": ["black", "flake8", "isort", "mdformat", "pydocstyle", "mypy", "pylint"],
"checking": [
"black",
"flake8",
"isort",
"mdformat",
"pydocstyle",
"mypy",
"pylint",
"pylintfileheader",
],
"optional": ["mlflow", "GitPython", "transformers"],
"testing": ["pytest", "scikit-learn", "torch"],
# TODO: remove Sphinx pinning later
Expand Down

0 comments on commit 4594021

Please sign in to comment.