Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
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
3 changes: 0 additions & 3 deletions .github/workflows/RunTest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,16 @@ jobs:
- name: Lint with Ruff
id: ruff
run: |
pip install ruff
ruff check --output-format=github src/pyvesync
continue-on-error: true
- name: Run pylint
id: pylint
run: |
pip install pylint
pylint src/pyvesync --output-format=text --reports=n
continue-on-error: true
- name: Test with pytest
id: pytest
run: |
pip install pytest
pytest -v
- name: Build docs (mkdocs)
id: docs
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ docstest/*
.vesync_auth
**/CLAUDE.md
/docs/superpowers
/docs/development/reviews
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ repos:
hooks:
- id: mypy
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
rev: v0.15.21
hooks:
- id: ruff-check
args: [ --fix, --config=ruff.toml ]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dev = [
"pyyaml",
"pylint",
"mypy",
"ruff",
"ruff==0.15.21",
"pre-commit",
"tox",
"requests",
Expand All @@ -45,7 +45,7 @@ dev = [
docs = [
"mkdocstrings-python",
"mkdocs",
"ruff",
"ruff==0.15.21",
"Pygments",
"mkdocs-material",
"mkdocstrings",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pytest
requests
pytest-cov
ruff
ruff==0.15.21
pylint
mypy
pyyaml
Expand Down
2 changes: 1 addition & 1 deletion ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ignore = [
"EXE002", # Use of exec - IGNORE
"DTZ005", # Use of datetime.now() without tz - IGNORE
# "Q000", # Quotes
# "ERA001", # Commented out code
"ERA001", # Commented out code


]
Expand Down
Loading
Loading