Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Give warning if using gps provider from this repo #164

Merged
merged 1 commit into from
Feb 2, 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
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude_types: ["dbc"]
Expand All @@ -13,6 +13,6 @@ repos:
- id: check-added-large-files

- repo: https://github.com/pycqa/flake8
rev: '6.0.0'
rev: '7.0.0'
hooks:
- id: flake8
3 changes: 3 additions & 0 deletions gps2val/gpsd_feeder.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ def shutdown(self):
# set root loglevel etc
init_logging(loglevels["root"])

log.warn("GPS Feeder has migrated to a new repository")
log.info("Consider using GPS provider in https://github.com/eclipse-kuksa/kuksa-gps-provider instead")

# set loglevels for other loggers
for logger, level in loglevels.items():
if logger != "root":
Expand Down
Loading