Skip to content

Commit

Permalink
feat: Add workflow to check commits
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelcsx committed Apr 28, 2024
1 parent d87d766 commit a32a4b1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr-conventional-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: PR Conventional Commit Validation

on:
pull_request:
types: [opened, synchronize, reopened, edited]

jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/[email protected]
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]'
add_label: 'false'
21 changes: 9 additions & 12 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,23 @@ suggestion-mode=yes

[MESSAGES CONTROL]
disable=
arguments-differ,
attribute-defined-outside-init,
invalid-name,
no-else-return,
broad-exception-caught,
consider-using-assignment-expr,
format,
invalid-name,
missing-docstring,
no-else-return,
possibly-used-before-assignment,
protected-access,
redefined-builtin,
redefined-outer-name,
too-few-public-methods,
too-many-function-args,
too-many-arguments,
too-many-function-args,
unexpected-keyword-arg,
unknown-option-value,
redefined-builtin,
redefined-outer-name,
arguments-differ,
# handled by black
format,
# We anticipate #3512 where it will become optional
fixme,
consider-using-assignment-expr,
possibly-used-before-assignment,


[BASIC]
Expand Down

0 comments on commit a32a4b1

Please sign in to comment.