summaryrefslogtreecommitdiff
path: root/tests/profile
Commit message (Collapse)AuthorAgeFilesLines
* [PyCQA migration] Upgrade links to the repositories in code and doc (#8514)Pierre Sassoulas2023-03-291-2/+2
|
* Fix `bandit` high-severity warnings and use pre-commit (#7913)Mark Byrne2022-12-091-1/+2
| | | | | | | | | Remove `shell=True` argument of `subprocess.call`. Refactor: Use `subprocess.run` instead of `subprocess.call`. Add `bandit` to .pre-commit-config.yaml. Use `gitpython` for clone command. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Finish unfinished typing in non core directories (#7443)Daniël van Noord2022-09-091-3/+6
| | | | | | | | * Add typing to setup calls in documentation folder * Finish some incomplete typing signatures in script * Add typing to unfinished signatures in the tests directory
* Fail "new primer" runs on fatal errors, like the "old primer" (#6746)Jacob Walls2022-05-301-1/+1
|
* Use an empty pylintrc for tests using project's pylintrc implicitelyPierre Sassoulas2022-04-261-1/+1
| | | | | | | | | | We don't want to use the project's pylintrc during tests, because it means that a change in our config could break tests. But we want to see if the changes to the default break tests. Create a private '_Run' class in pylint.testutil._run Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Add a pre-commit hook to check the copyright noticePierre Sassoulas2022-03-241-1/+1
| | | | | Fix the existing file so they have a notice. No header for setup.py or examples or doc
* Simplify hard to maintain copyright noticePierre Sassoulas2022-03-241-4/+1
| | | | | | git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names.
* Update ``pydocstringformatter`` to 0.4.0 (#5787)Daniël van Noord2022-02-101-2/+2
|
* Fix typo in pylintrc for useless-suppression (#5303)Daniël van Noord2021-11-231-1/+1
| | | | | | | | | | | * Fix typo in pylintrc for useless-suppression * Fix CI for information messages * Remove useless disables * Update CI and docs for 3.8+ Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Bump pylint to 2.11.0, update changelogv2.11.0Pierre Sassoulas2021-09-161-0/+1
|
* Add ``Consider-using-f-string`` checker (#4796)Daniël van Noord2021-08-301-4/+3
| | | | | | | | | | | | | | | | * Add ``consider-using-f-string`` checker This adds a checker for normal strings which are formatted with ``.format()`` or '%'. The message is a convention to nudge users towards using f-strings. This closes #3592 * Update pylint code to use f-strings After adding `consider-using-f-strings` the codebase showed numerous cases of formatting which could be f-strings. This commit changes most of these to become f-strings, or adds ignores. * Apply suggestions from code review Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix copyright links (#4647)Marc Mueller2021-07-011-1/+1
| | | | * Fix link in license header * Update link to astroid bump_changelog
* Update copyrite noticev2.8.2Pierre Sassoulas2021-04-261-0/+1
|
* Changes after black updateMarc Mueller2021-04-261-1/+1
|
* Rename copying to license and upgrade the setup.cfg (#4338)Pierre Sassoulas2021-04-111-1/+1
|
* Apply copyrite --contribution-thresholdPierre Sassoulas2021-02-211-1/+2
|
* Move from format() to f-string where it makes sensePierre Sassoulas2021-02-161-5/+1
| | | | As we do not maintain python 3.5 it permit to simplify some code
* Fix PytestCollectionWarning: cannot collect test class TestReporterPierre Sassoulas2020-11-281-3/+1
|
* review fixes| Uses pytest's tmp_path fixture instead of custom context manFrank Harrison2020-11-271-27/+15
|
* Remove 0xdeadcodeFrank Harrison2020-11-271-5/+0
|
* profile| Runs pylint against external code, generating profile-heatmapsFrank Harrison2020-11-271-0/+78
* Use https gitub uri so we do not need creditials * Shallow clone so we don't pull more data than we need * Ensure we skip external profiling unless explicitly wanted