Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,9 @@ repos:
files: '^smart_control/'
exclude: '^smart_control/proto/'

# NOTE: running `pylint` against all files is prohibitively slow
# ... so we omit passing the `smart_buildings` directory,
# ... which allows pre-commit to run against staged / changed files only
- id: pylint
name: pylint
#entry: pylint --rcfile=.pylintrc --ignore=proto smart_control
#entry: pylint --rcfile=.pylintrc --ignore=proto $(git diff --name-only --staged | grep -E '\.py$')
entry: pylint --rcfile=.pylintrc --ignore=proto
- id: pyrefly

@s2t2 s2t2 Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to clarify, pyrefly is replacing pytype, not pylint. Sorry for any confusion. I have updated the issue description.

name: pyrefly
entry: pyrefly check
language: system
types: [file, python]
files: '^smart_control/'
Expand Down
Loading