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

Commit

Permalink
Give warning if using gps provider from this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbosch committed Feb 2, 2024
1 parent 8e18c2d commit 638e17b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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

0 comments on commit 638e17b

Please sign in to comment.