Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update edx-lint to 5.4.0 #714

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates edx-lint from 1.5.2 to 5.4.0.

Changelog

5.4.0

~~~~~~~~~~~~~~~~~~

* Added support for python 3.12
* Drop support for python 3.8
* Replaced pkg_resources with importlib.resources

5.3.7

~~~~~~~~~~~~~~~~~~

* Remove support for writing commitlint.config.js files since we don't want
people to be doing this.

5.3.5

~~~~~~~~~~~~~~~~~~

* added support for pylint 3

5.3.2

~~~~~~~~~~~~~~~~~~

* Removed pylint<2.15 constraint and updated tests for new version
* Removed CI tests for old pylint versions

5.3.1

~~~~~~~~~~~~~~~~~~

* Disabled new warning from pylint 2.16.0: broad-exception-raised

5.3.0

~~~~~~~~~~~~~~~~~~

* Improvements to the ``check`` command:

- It now exits with a failure status if something is wrong.
- With no file name arguments, it will check all of your files that edx_lint
 can write.
- The messages are less chatty.

5.2.5

~~~~~~~~~~~~~~~~~~

* Updated GitHub references from the ``edx`` GitHub organization to ``openedx``.

5.2.4

~~~~~~~~~~~~~~~~~~

* Updated `pylintrc` template for `edx_lint write pylintrc` command for `pylint>=2.14.0`.

5.2.3

~~~~~~~~~~~~~~~~~~

* Removed support of LegacyWaffle* checks, since the classes no longer exist.
* Removed deleted pylint messages from common pylintrc file

5.2.2

~~~~~~~~~~~~~~~~~~

* fixed import path of a pylint protected function to make
edx-lint compatible with `pylint==2.13.0`.
* Updated testenvs in both tox and CI

5.2.1

~~~~~~~~~~~~~~~~~~

* Include constraint files when generating requirements metadata

5.2.0

~~~~~~~~~~~~~~~~~~

* Silence the "consider-using-f-string" pylint violation.

* The new "update" command will write all edx-lint-writable files that exist
on disk.

* edx-lint can now write commitlint.config.js files.

* The help message now includes the version.

5.1.0

~~~~~~~~~~~~~~~~~~

* Disabled two new warnings from pylint 2.10: unspecified-encoding and
use-maxsplit-arg.

5.0.0

~~~~~~~~~~~~~~~~~~~~

* BREAKING CHANGE: Add linter for invalid imports from Django Waffle (`import waffle` and `from waffle import ...`). Instead, developers should import toggle objects from `edx_toggles.toggles`.
* BREAKING CHANGE: Add linter for missing feature toggle annotations ("toggle-missing-annotation"). Check `this howto <https://edx.readthedocs.io/projects/edx-toggles/en/latest/how_to/documenting_new_feature_toggles.html>`__ for more information on writing toggle annotations.
* Fix duplicate annotation errors.

4.1.1

~~~~~~~~~~~~~~~~~~~~

* Fixed lint amnesty breakage on line continuation

4.1.0

~~~~~~~~~~~~~~~~~~~~

Added unittest_assert module (optional plugin for unittest assertion checks)

To use this plugin, you should add this to your pylintrc

.. code-block:: python

 load-plugins=edx_lint.pylint.unittest_assert

4.0.1

~~~~~~~~~~~~~~~~~~~~

edx-lint will now ignore the logging-fstring-interpolation warning in pylint.

4.0.0

~~~~~~~~~~~~~~~~~~~~

* BREAKING CHANGE: modify the numerical ID of annotation checks
* BREAKING CHANGES:

* modify the numerical ID of annotation checks
* though technically not a breaking change, the new annotation checks may break your build if there are pre-existing
 violations.

* Add ``CodeAnnotationChecker`` to run generic checks on annotations

3.0.2

~~~~~~~~~~~~~~~~~~~~

* Fix line number from annotation checks.

3.0.1

~~~~~~~~~~~~~~~~~~~~

* Added constraints file to handle package versions.

3.0.0

~~~~~~~~~~~~~~~~~~~~

* Add setting annotation linting.
* Add feature toggle annotation linting.

2.0.0

~~~~~~~~~~~~~~~~~~~~

* Drop support for Python 3.5

..
 Feel free to update the following link to actual changelog entries.
..

* Here is a `link to additional commits`_ that may or may not warrant changelog entries, but were committed before reminding developers to update the changelog.

.. _link to additional commits: https://github.com/openedx/edx-lint/compare/1.5.2...a29f286
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #725

@pyup-bot pyup-bot closed this Oct 28, 2024
@idegtiarov idegtiarov deleted the pyup-update-edx-lint-1.5.2-to-5.4.0 branch October 28, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant