-
Notifications
You must be signed in to change notification settings - Fork 2
🐛 Ignore collection failures in non-tests #1
Commits on Feb 24, 2023
-
CI: Modernize, MOAR Pythons, GH-Actions
Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 189fe40 - Browse repository at this point
Copy the full SHA 189fe40View commit details
Commits on Oct 14, 2023
-
MOAR Improvements: Cross-OS testing,
.gitignore
updates, supporting…… only `pylint<3`, coverage at Codecov, drop other CI Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c5af2e5 - Browse repository at this point
Copy the full SHA c5af2e5View commit details -
Merge pull request #1 from pylint-dev/ci/improve/use-gh-actions
CI: Use GH-Actions, drop the rest, MOAR Pythons, MOAR OSes, coverage at Codecov Additionally: * Update `.gitignore` * Mark the plugin supporting only `pylint<3`
Configuration menu - View commit details
-
Copy full SHA for 6be0547 - Browse repository at this point
Copy the full SHA 6be0547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56fa1d1 - Browse repository at this point
Copy the full SHA 56fa1d1View commit details -
Store all tools' configurations in `pyproject.toml`, even if right now only the `setup.py` file is used. Keep `.pylintrc` separately. It is 300 lines; default `--generate-toml-config` gives 600 😅 Comment-out hooks that need >0 work to be green. Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 005174f - Browse repository at this point
Copy the full SHA 005174fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85d7e42 - Browse repository at this point
Copy the full SHA 85d7e42View commit details -
Enable https://github.com/asottile/pyupgrade +
.git-blame-ignore-revs
Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff18b58 - Browse repository at this point
Copy the full SHA ff18b58View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab07d5e - Browse repository at this point
Copy the full SHA ab07d5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee69ce - Browse repository at this point
Copy the full SHA 5ee69ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae436ac - Browse repository at this point
Copy the full SHA ae436acView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1fc41e - Browse repository at this point
Copy the full SHA a1fc41eView commit details
Commits on Oct 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1c2613b - Browse repository at this point
Copy the full SHA 1c2613bView commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ae3d8ca - Browse repository at this point
Copy the full SHA ae3d8caView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec51408 - Browse repository at this point
Copy the full SHA ec51408View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a4331d - Browse repository at this point
Copy the full SHA 0a4331dView commit details -
Minor re-ordering of the
tool.pylint
, with some commentsSigned-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7feeb56 - Browse repository at this point
Copy the full SHA 7feeb56View commit details -
Carry over some
.pylintrc
configurationSigned-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a444a61 - Browse repository at this point
Copy the full SHA a444a61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 122c799 - Browse repository at this point
Copy the full SHA 122c799View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33d1313 - Browse repository at this point
Copy the full SHA 33d1313View commit details -
Most of the issues are "almost clear-cut", except the astroid stuff - `pylint_pytest/checkers/class_attr_loader.py`. Those were mostly placated (but hopefully done right). Additionally, add some sanity features to `BasePytestTester`: * Marked class as `ABC` * Enforce subclasses to initialize `MSG_ID` Mostly both of those changes are "aesthetical", and do not contribute to strict guarantees of behavior, or type assertions. But at least `pytest` cries loudly when used wrong - so that's something. Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b65e979 - Browse repository at this point
Copy the full SHA b65e979View commit details -
Roll back
from __future__ import annotations
for Python 3.6... and `f{msg_id=}` Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8ce4ad - Browse repository at this point
Copy the full SHA b8ce4adView commit details
Commits on Oct 18, 2023
-
Merge pull request #9 from pylint-dev/pre-commit-mypy
Activate mypy in pre-commit
Configuration menu - View commit details
-
Copy full SHA for 2d6d83a - Browse repository at this point
Copy the full SHA 2d6d83aView commit details -
Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 163ac3a - Browse repository at this point
Copy the full SHA 163ac3aView commit details -
Improvements for
.github/workflows/run-tests.yaml
* Configure action `concurrency:` * Use `codecov/codecov-action@v3` flags (might ... help codecov, somehow) * Upload testing artifacts * Add the Codecov badge in the README.md Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b1bb86 - Browse repository at this point
Copy the full SHA 0b1bb86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55e4218 - Browse repository at this point
Copy the full SHA 55e4218View commit details -
* Drop `py312` to combat #16 * Install `--editable`, so that Python uses the correct source files for coverage * Ignore `tests/input/**/*.py` from coverage - they are not ran properly * Again improve on artifact naming Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c208abb - Browse repository at this point
Copy the full SHA c208abbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8da197 - Browse repository at this point
Copy the full SHA f8da197View commit details
Commits on Oct 19, 2023
-
Additionally, fixes #13 Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4971561 - Browse repository at this point
Copy the full SHA 4971561View commit details -
Improve packaging + Release v1.1.3rc1
* Drop `tests/*` both from `sdist` and `wheel` * Drop `universal` wheel (we don't support Python2) Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85dd457 - Browse repository at this point
Copy the full SHA 85dd457View commit details -
Merge pull request #19 from stdedos/release/v1.1.3rc1
See more details in #19
Configuration menu - View commit details
-
Copy full SHA for cb653a0 - Browse repository at this point
Copy the full SHA cb653a0View commit details
Commits on Oct 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 630172b - Browse repository at this point
Copy the full SHA 630172bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5cd873 - Browse repository at this point
Copy the full SHA d5cd873View commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0a47a49 - Browse repository at this point
Copy the full SHA 0a47a49View commit details -
Merge pull request #2 from anis-campos/fix_is_pytest_fixture
See more details in #2
Configuration menu - View commit details
-
Copy full SHA for a5c6855 - Browse repository at this point
Copy the full SHA a5c6855View commit details -
🐛 Ignore collection failures in non-tests
This change applies the pre-existing patterns to identify if the files with collection problems are tests. It is then used to eliminate the false-positives of F6401 (cannot-enumerate-pytest-fixtures). As a side effect, this patch also includes precise file paths that may be used to reproduce the problem. Fixes reverbc#20 Fixes reverbc#21 Signed-off-by: Sviatoslav Sydorenko <[email protected]> _Replayed; Source PR: https://github.com/reverbc/pylint-pytest/pull/22_ Additionally, satisfied the https://github.com/pylint-dev/pylint-pytest's `.pre-commit-config.yaml` Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6a343d - Browse repository at this point
Copy the full SHA f6a343dView commit details -
Improve
F6401
:cannot-enumerate-pytest-fixtures
:* Capture and return `stdout` and `stderr` (instead of trashing them) * Fix the 'duplicate-path' error by `relative`-izing the paths before `union`ing them * Update tests to test for both conditions Additionally, fix two `used-before-assignment` pylint issues (`stdout`, `stderr`) 🤪 Signed-off-by: Stavros Ntentos <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for abc9f22 - Browse repository at this point
Copy the full SHA abc9f22View commit details