Skip to content

Releases: adafruit/Adafruit_CircuitPython_LIS2MDL

2.1.6 - Moved to pre-commit, added licensing info

20 Jan 23:12
2b4eee7
Compare
Choose a tag to compare

pre-commit has been added to the GitHub Actions workflow in this repository. pre-commit allows you to run multiple checks, such as black and checking the REUSE licensing compliance, both locally and on GitHub Actions with one command.

You can run pre-commit locally with pre-commit run --all-files

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.1.5 - Remove old PyLint Directive

25 Aug 23:50
11eef6d
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.1.4 - Fixed discord invite link

09 Jul 20:42
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.1.3 - Added compass example

23 Apr 17:23
4b2ba49
Compare
Choose a tag to compare

Thanks @FoamyGuy

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.1.2 - Added Black check, reran Black with Python 3 target.

10 Apr 18:33
c94a2e3
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.1.1 - Update docs link

02 Apr 17:07
8d619f8
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.1.0 - Upgrade to latest Pylint, implement Black formatting

17 Mar 23:05
978912f
Compare
Choose a tag to compare

We have upgraded Pylint checks to use the latest version of Pylint and implemented usage of Black Python formatting. This does not change the functionality of the code - it is designed to bring it up to current standards and make it more readable.

  • Remove pinned Pylint version number from build.yml file
  • Synced .pylintrc file to match Adafruit standard
  • Ran upgraded Pylint and applied any changes or new disables necessary
  • Ran Black formatter and allowed application of changes across entire repo

For more information on using Pylint and Black on your code, check out this guide on working with Pylint and Black

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

Update to README

17 Feb 20:03
10a49d0
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.0.1 - Changed CI from Travis to GitHub Actions

24 Jan 01:50
Compare
Choose a tag to compare

This release includes:

  • Migrating this repository from Travis to GitHub Actions. This has no effect on the behavior of the code itself.

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.

2.0.0 - Breaking Changes! Everything renamed!

02 Jan 03:32
Compare
Choose a tag to compare

This release includes

  • a rename of the former Adafruit_CircuitPython_LSM303AGR_Mag to the proper name of said mag sensor, the LIS2MDL
  • Breaking changes! Everything works the same but the names are all different!

To use in CircuitPython, simply install the Adafruit CircuitPython bundle.

To use in CPython, pip3 install adafruit-circuitpython-lis2mdl.

Read the docs for info on how to use it.