Commit Graph

52 Commits

Author SHA1 Message Date
Marc Mueller
5bdc2218ef
Use Try node (#7767)
Bump astroid to 3.0.0a7
2023-07-10 09:49:25 -04:00
Jacob Walls
816bea7971 Apply hotfix for @raise_if_nothing_inferred 2023-07-08 09:46:48 -04:00
Jacob Walls
84bfe1026a Upgrade to astroid 3.0.0a6 2023-07-08 09:46:48 -04:00
Pierre Sassoulas
1da5183861 Ignore ruff's 'mutable default values in class attributes' 2023-07-01 12:55:20 +02:00
Pierre Sassoulas
7eaac577d7
Upgrade astroid to 3.0.0a5 (#8770) 2023-06-13 14:08:39 +02:00
Pierre Sassoulas
f53283ea11 Upgrade astroid to 3.0.0a4
We now need to use repr_name.
2023-06-07 02:08:01 +02:00
Daniël van Noord
434d49f69a
Make sure a `tool table is created in toml` generation (#8638)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2023-04-30 15:32:47 +00:00
Jacob Walls
87a4d672a8
Add home-assistant to primer and remove old external primer (#8612) 2023-04-29 14:11:55 -04:00
Pierre Sassoulas
a59f3d588a
[tomlkit] Limit the maximum version of tomlkit (#8633) 2023-04-28 18:54:10 +02:00
Marc Mueller
e2d6c4db61
Bump astroid to 3.0.0a2 (#8627) 2023-04-25 20:42:57 +02:00
Marc Mueller
1c66e4dd40
Bump astroid to 3.0.0a1 (#8626) 2023-04-25 18:57:51 +02:00
Marc Mueller
3ff19e4ca3
Drop support for Python 3.7 (#8609)
* Drop support for Python 3.7
* Update py-version + classifier
* Update functional tests
2023-04-24 22:36:24 +02:00
dependabot[bot]
a83137da3d
Upgrade astroid to 2.15.4 (#8615)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2023-04-24 14:48:18 +00:00
Pierre Sassoulas
3d036b78fc
Upgrade astroid to 2.15.3 (#8584)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-04-23 13:35:32 +02:00
Pierre Sassoulas
08742dbea3
Upgrade astroid to 2.15.2 (#8530) 2023-04-03 12:49:46 +02:00
Pierre Sassoulas
07a945a218 [cleanup] Upgrade more doc following the PyCQA migration 2023-03-31 09:02:32 +02:00
Pierre Sassoulas
9f2de9123b
[PyCQA migration] Upgrade links to the repositories in code and doc (#8514) 2023-03-29 21:21:43 +02:00
dependabot[bot]
1be16bb8c4
Bump astroid from 2.15.0 to 2.15.1 (#8513) 2023-03-29 20:43:57 +02:00
Pierre Sassoulas
1eef2273ae
[ruff] Add RUF specific rules and autofix (#8449) 2023-03-14 19:44:38 +01:00
Pierre Sassoulas
5c51bc5259 [pre-commit] Configure ruff to sort import
I'm not sure if ruff handle first party / third parties, but it's good enough for the doc
2023-03-10 23:12:37 +01:00
Daniël van Noord
ac5f0a4176
Add and expose `py.typed` (#8402)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2023-03-08 19:45:52 +01:00
Pierre Sassoulas
491c53985c
[deprecation] epylint removal for pylint 3.0.0 (#8400)
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2023-03-08 15:03:12 +01:00
Pierre Sassoulas
9c4fbedb36
Upgrade to astroid 2.15.0 (#8387)
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2023-03-07 21:33:00 +01:00
Pierre Sassoulas
4de654512e
[pre-commit] Transition from flake8/autoflake to ruff (#8372)
ruff is faster and support pyproject.toml. flake8-typing-import
is not implemented but it checks for things in python version
< 3.7.2 that we do not support.
2023-03-02 21:19:56 +01:00
Pierre Sassoulas
883ee9ab53 Upgrade astroid to 2.14.2 2023-02-13 09:34:08 +01:00
pre-commit-ci[bot]
4cbabc9bae
[pre-commit.ci] pre-commit autoupdate (#8208)
updates:
- [github.com/PyCQA/autoflake: v2.0.0 → v2.0.1](https://github.com/PyCQA/autoflake/compare/v2.0.0...v2.0.1)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.241 → v0.0.243](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.241...v0.0.243)
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)

* Remove false positive fixed in ruff 0.243

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2023-02-07 11:12:06 +01:00
Pierre Sassoulas
676815a843 [doc] Use the real URL address of pylint's read the doc project 2023-02-06 21:52:17 +01:00
Pierre Sassoulas
d4d1313417 [pre-commit] Add ruff to the pre-commit configuration 2023-02-06 19:52:35 +01:00
Marc Mueller
1b5bba4508
Fix issues with new typing Union syntax (Py310) (#8122)
* Fix issues with new typing Union syntax (Py310)
* Upgrade astroid to 2.14.1
2023-02-01 01:14:32 +01:00
Pierre Sassoulas
27f3391ab8 Upgrade astroid to 2.13.3 2023-01-22 15:29:01 +01:00
Pierre Sassoulas
bb90b1940a
Upgrade astroid to 2.13.2 (#8030) 2023-01-13 10:36:49 +01:00
James Addison
89a20e2ccd
Add new check "pointless-exception-statement" (#7939)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2023-01-07 12:53:20 +01:00
Sandro Tosi
5a93635a4a
fix: bump dill to >= 0.3.6, prevents tests hanging with python3.11 (#7918)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-12-14 19:43:59 +01:00
Pierre Sassoulas
15733b4c81
Upgrade the versions of astroid and dill (#7838)
* [dill] Use dill 0.3.6 for python 3.11 now that dill released it

* Upgrade astroid to 2.12.13

* Fix backport job
2022-11-24 20:09:34 +01:00
Jacob Walls
694d3024db
Fail pytest runs on warnings (#7809)
* Catch DeprecationWarning in pyreverse

Follow-up to #6869

* Patch use of deprecated `astroid.node_classes` in test

* Ignore DeprecationWarning in test_parseable_output_regression

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-11-23 10:04:58 +01:00
Marc Mueller
5e3f01bcca
Update Primer venv caching [ci] (#7708)
* Use release version for astroid
* Use better cache key
* Mirror create environment
* Update comments
2022-11-07 08:53:12 +01:00
Marc Mueller
e041d7bb14
Improve Github action workflows (#7651)
* Remove restore keys
* Log pylint + astroid versions
* Reset cache versions
* Add check-latest to setup-python
* Use pyproject.toml for hash
* Update comment-hider version comment
* Pin additional actions
2022-11-04 11:23:40 +01:00
Pierre Sassoulas
9b0ac710d3
Upgrade astroid to 2.12.12 (#7649) 2022-10-19 13:58:45 +02:00
Pierre Sassoulas
e5a42200ad Merge branch 'maintenance/2.15.x' into following 2.15.4 release 2022-10-10 15:21:12 +02:00
Pierre Sassoulas
07f484f488 Upgrade astroid version following 2.12.11 release 2022-10-10 15:13:15 +02:00
Pierre Sassoulas
644f3fdb45
Use 3.11 for Github actions (#6551)
Use ``dill-pylint`` (our own version of dill) because dill's 0.3.6 release is taking forever.

Closes #5920

Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
2022-09-30 21:56:22 +02:00
orSolocate
4c97a2912d
Hotfix mypy precommit errors for colorama and typing on Windows (#7531)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-09-27 00:13:53 +02:00
Christian Clauss
d2056b3a67 Migrate configs for isort, mypy, and pytest into pyproject.toml 2022-09-22 20:22:31 +02:00
Pierre Sassoulas
38e278401a Bump astroid to 2.12.10 2022-09-19 16:19:58 +02:00
Pierre Sassoulas
49b5d5dae6 Upgrade astroid version following 2.12.9 release 2022-09-07 14:47:49 +02:00
Pierre Sassoulas
a21af6a797 Upgrade astroid version following 2.12.8 release 2022-09-06 23:33:59 +02:00
Pierre Sassoulas
d200f81ecc
Upgrade astroid version following 2.12.4 release (#7356) 2022-08-25 09:18:43 -04:00
Pierre Sassoulas
dcd2b17f34
Upgrade astroid version following 2.12.3 release (#7344) 2022-08-23 21:45:45 +02:00
Jacob Walls
234ac5af22 "Contributer" -> "Contributor" 2022-08-13 10:45:53 -04:00
Mark Byrne
df93f97b70
Update PyPI Homepage url via pyproject.toml configuration. (#7299)
Closes #7298

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
2022-08-12 23:28:45 +02:00