Skip to content

Commit

Permalink
chore: 🤖 raise pylint fail-under to 10 and add isort check (#210)
Browse files Browse the repository at this point in the history
in Actioin, raise pylint fail-under to 10 and add isort check
  • Loading branch information
duyifanict authored Dec 11, 2024
1 parent d867579 commit ae199e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Pylint

env:
FAIL_UNDER: "9.5"
FAIL_UNDER: "10.0"

on: [push, pull_request]

Expand All @@ -24,4 +24,5 @@ jobs:
pip install coverage
- name: Analysing the code with pylint
run: |
pylint --fail-under=${FAIL_UNDER} basicts scripts
pylint --fail-under=${FAIL_UNDER} basicts scripts tests
isort -c basicts scripts tests
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[MASTER]

# Files or directories to be skipped. They should be base names, not paths.
ignore=baselines,assets
ignore=baselines,assets,checkpoints

# Files or directories matching the regex patterns are skipped. The regex
# matches against base names, not paths.
Expand Down

0 comments on commit ae199e7

Please sign in to comment.