Skip to content
Open
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 .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ omit =
[report]
exclude_lines =
pragma: no cover
if TYPE_CHECKING:
if TYPE_CHECKING:
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ test.py
# rust so
*.cpython*.so

.codspeed
.codspeed
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: detect-private-key
Expand Down Expand Up @@ -123,3 +125,11 @@ repos:
entry: scripts/check_getLogger.sh
language: script
require_serial: true
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.3
hooks:
- id: gitleaks
- repo: https://github.com/jumanjihouse/pre-commit-hooks
rev: 3.0.0
hooks:
- id: shellcheck
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13
3.13
2 changes: 1 addition & 1 deletion ci/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ RUN \
COPY requirements-test.txt /requirements-test.txt

RUN \
uv pip install --index-strategy unsafe-best-match -r /requirements-test.txt
uv pip install --index-strategy unsafe-best-match -r /requirements-test.txt
2 changes: 1 addition & 1 deletion ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ rm -rf deebot_client

uv pip install --no-progress --system --force-reinstall dist/deebot_client-*.whl
# Disable tests, which require docker for now
pytest tests -v -m "not docker"
pytest tests -v -m "not docker"
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ ignore_missing_imports = True
ignore_missing_imports = True

[mypy-testfixtures.*]
ignore_missing_imports = True
ignore_missing_imports = True
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ markers =
docker: marks tests, which require docker (deselect with '-m "not docker"')
#timeout = 10
#log_cli=true
#log_level=DEBUG
#log_level=DEBUG
2 changes: 1 addition & 1 deletion scripts/check_getLogger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ for FILE in `find deebot_client/ -name "*.py"` ; do
exit 1
fi
done
exit
exit
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ uv sync --frozen --group dev
python -m maturin_import_hook site install

# Setup pre-commit
pre-commit install
pre-commit install