Skip to content
Success

Changes

Summary

  1. README: mention the pypi package (details)
  2. Fix lint errors: unused imports (details)
  3. Fix lint errors: remove unnecessary semicolons (details)
  4. Fix lint errors: do not use bare except (details)
Commit fa31deeb171758e55f4d9c036aeef3f79a2d19cb by Oliver Smith
README: mention the pypi package

Make it easy for users to verify that the pyosmocom project from pypi
comes from the maintainers of this repository by clicking the URL and
finding the "pip install pyosmocom" line in the README.

Change-Id: Iac6fcbc1b5f0caa4cf63de5b8effe46d731080bc
The file was modifiedREADME.md
Commit 1ebded1b3ff32534d97d0860be127e8e469eec16 by Oliver Smith
Fix lint errors: unused imports

This is the first patch in a series to address everything found with
"ruff check", so we can run it in CI (additionally to pylint) and
locally as pre-commit hook.

Change-Id: Ie71039d05e9a7cc8b65543c9475b35adcb458f7e
The file was modifiedsrc/osmocom/gsmtap.py
The file was modifiedsrc/osmocom/gsup/message.py
The file was modifiedsrc/osmocom/construct.py
Commit 86a47671eb3dc28ffa79de69032f81e20fdbc831 by Oliver Smith
Fix lint errors: remove unnecessary semicolons

Change-Id: I8c8586476d12461d555a2278ef936256944c9cde
The file was modifiedsrc/osmocom/construct.py
The file was modifiedtests/test_tlv.py
Commit 35c5fe29807a45d8cd75e85846d4caccdd96f6d6 by Oliver Smith
Fix lint errors: do not use bare except

src/osmocom/construct.py:90:9: E722 Do not use bare `except`
   |
88 |             ad = GsmString(GreedyBytes)
89 |             return ad._encode(obj, context, path)
90 |         except:
   |         ^^^^^^ E722
91 |             ad = Ucs2Adapter(GreedyBytes)
92 |             return ad._encode(obj, context, path)

Change-Id: Ia5fe852b6d990ad728fc3dedc7012c8fced92e13
The file was modifiedsrc/osmocom/utils.py
The file was modifiedsrc/osmocom/construct.py