From 4571a6c4c69203161a3a686a37273ba3ec7821d3 Mon Sep 17 00:00:00 2001 From: Bradley Sappington Date: Tue, 30 Jan 2024 13:41:11 -0500 Subject: [PATCH] add pep8speaks for temporary linter --- pep8speaks.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pep8speaks.yml diff --git a/pep8speaks.yml b/pep8speaks.yml new file mode 100644 index 00000000..5917fef8 --- /dev/null +++ b/pep8speaks.yml @@ -0,0 +1,25 @@ +# File : .pep8speaks.yml + +message: # Customize the comment made by the bot + opened: # Messages when a new PR is submitted + header: "Hello @{name}, Thank you for submitting the Pull Request !" + # The keyword {name} is converted into the author's username + footer: "If you have not done so, please lint your code in accordance with best practices." + # The messages can be written as they would over GitHub + updated: # Messages when new commits are added to the PR + header: "Hello @{name}, Thank you for updating !" + footer: "" # Why to comment the link to the style guide everytime? :) + no_errors: "Cheers ! There are no PEP8 issues in this Pull Request. :beers: " + +scanner: + diff_only: False # If True, errors caused by only the patch are shown + +pycodestyle: + max-line-length: 100 # Default is 79 in PEP8 + ignore: # Errors and warnings to ignore + - E501 # Line too long + - E505 + - W503 # Outdated and replaced by W504 + +only_mention_files_with_errors: True # If False, a separate status comment for each file is made. +descending_issues_order: False # If True, PEP8 issues in message will be displayed in descending order of line numbers in the file \ No newline at end of file