Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use newer pylint #375

Merged
merged 1 commit into from
Aug 19, 2024
Merged
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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/pycqa/pylint
rev: v2.17.4
rev: v3.2.6
hooks:
- id: pylint
name: pylint
Expand Down
3 changes: 1 addition & 2 deletions adabot/lib/circuitpython_library_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,7 @@ def _filter_file_diffs(filenames):
commit_date = datetime.datetime.strptime(
commit_date_val, "%Y-%m-%dT%H:%M:%SZ"
)
if commit_date < oldest_commit_date:
oldest_commit_date = commit_date
oldest_commit_date = min(oldest_commit_date, commit_date)

date_diff = datetime.datetime.today() - oldest_commit_date
if date_diff.days > datetime.date.today().max.day:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

black==24.3.0
packaging==22.0
pylint==2.11.1
pylint==3.2.6
pytest
pyyaml>=5.4.1
redis==4.5.4
Expand Down
1 change: 1 addition & 0 deletions tools/ci_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def run_gh_rest_rerun(
"""
if not rerun_level:
return False
result = None
if rerun_level == 1:
result = (
run_gh_rest_check(lib_repo, user, branch, workflow_filename) == "success"
Expand Down
Loading