- Added pin for pip to avoid path issues
- Used ubunto-latest for builds
- Added support for python 3.12
- Drop support for python 3.8
- Replaced pkg_resources with importlib.resources
- Remove support for writing commitlint.config.js files since we don't want people to be doing this.
- added support for pylint 3
- Removed pylint<2.15 constraint and updated tests for new version
- Removed CI tests for old pylint versions
- Disabled new warning from pylint 2.16.0: broad-exception-raised
- 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.
- Updated GitHub references from the
edx
GitHub organization toopenedx
.
- Updated pylintrc template for edx_lint write pylintrc command for pylint>=2.14.0.
- Removed support of LegacyWaffle* checks, since the classes no longer exist.
- Removed deleted pylint messages from common pylintrc file
- 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
- Include constraint files when generating requirements metadata
- 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.
- Disabled two new warnings from pylint 2.10: unspecified-encoding and use-maxsplit-arg.
- 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 for more information on writing toggle annotations.
- Fix duplicate annotation errors.
- Fixed lint amnesty breakage on line continuation
Added unittest_assert module (optional plugin for unittest assertion checks)
To use this plugin, you should add this to your pylintrc
load-plugins=edx_lint.pylint.unittest_assert
edx-lint will now ignore the logging-fstring-interpolation warning in pylint.
- 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
- Fix line number from annotation checks.
- Added constraints file to handle package versions.
- Add setting annotation linting.
- Add feature toggle annotation linting.
- Drop support for Python 3.5
- 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.
- Add global constraint file. A central location for most common version constraints (across edx repos) for pip-installation.
- Added support for Python 3.8
- Fixed: the .editorconfig file was not installed, and so was not writable.
- Breaking: dropped support for Python 2.
- Pylintrc: dropped code scoring.
Older versions were documented as Github releases only.