Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [brain tests] Rename 'unittest' prefix to 'test' | Pierre Sassoulas | 2023-02-09 | 1 | -1949/+0 |
| | |||||
* | [unittest brain] Remove unused unittest.main | Pierre Sassoulas | 2023-02-09 | 1 | -4/+0 |
| | |||||
* | Add support for keyword only argument default values | Daniël van Noord | 2023-02-05 | 1 | -1/+16 |
| | |||||
* | Initial pass with ``pydocstringformatter`` over tests (#1949) | Daniël van Noord | 2023-01-09 | 1 | -17/+14 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix ``pylint`` issues and remove useless disables | Daniël van Noord | 2022-07-06 | 1 | -1/+0 |
| | |||||
* | Remove remaining references to old Mixin base nodes | Daniël van Noord | 2022-06-20 | 1 | -1/+1 |
| | |||||
* | Update typing for Python 3.7 (1) (#1555) | Marc Mueller | 2022-05-13 | 1 | -3/+6 |
| | |||||
* | Remove some test skips (#1554) | Jacob Walls | 2022-05-12 | 1 | -3/+0 |
| | |||||
* | Fix ``col_offset`` attribute for nodes involving ``with`` on ``PyPy`` (#1520) | Daniël van Noord | 2022-04-22 | 1 | -6/+38 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Upgrade mypy to 0.940 (#1466) | Daniël van Noord | 2022-03-12 | 1 | -3/+3 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Simplify hard to maintain copyright notice (#1441) | Pierre Sassoulas | 2022-03-12 | 1 | -28/+1 |
| | | | | | | | | | | | | | | * Simplify hard to maintain copyright notice 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. * Add a pre-commit hook to check the copyright notice * Fix the existing file so they have a notice * Fix the spacing after the copyright notice * Add a script to generate the CONTRIBUTORS.txt Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Replace platform import (#1459) | Marc Mueller | 2022-03-09 | 1 | -7/+0 |
| | |||||
* | Deprecate accessing and setting the ``doc`` attribute on nodes (#1434) | Daniël van Noord | 2022-03-06 | 1 | -2/+6 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Fix F403 wildcart import used in astroid/__init__.py (#1271) | Pierre Sassoulas | 2022-03-03 | 1 | -0/+1 |
| | | | | | | | * Fix F403 wildcart import used in astroid/__init__.py And apply flake8 on setup.py and astroid/__init__.py Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Add doc_node attribute (#1276) | kasium | 2022-02-28 | 1 | -5/+14 |
| | | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Bump astroid to 2.10.0, update changelogv2.10.0 | Pierre Sassoulas | 2022-02-27 | 1 | -0/+1 |
| | |||||
* | Bump astroid to 2.9.2, update changelogv2.9.2 | Alexander Shadchin | 2022-01-04 | 1 | -1/+1 |
| | |||||
* | Bump astroid to 2.9.1, update changelogv2.9.1 | Pierre Sassoulas | 2021-12-31 | 1 | -1/+3 |
| | |||||
* | Add future=True to frame calls (#1305) | Tushar Sadhwani | 2021-12-29 | 1 | -0/+10 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Fix frame() error on inferred node (#1263) | Tushar Sadhwani | 2021-12-29 | 1 | -0/+8 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Upgrade to pylint 2.12 and enable ``for_any_all`` checker (#1277) | Nick Drozd | 2021-11-27 | 1 | -2/+2 |
| | | | | | | | | * Enable for_any_all check * Upgrade to pylint 2.12 in pre-commit configuration * Fix new Pylint warnings * Upgrade the regex for Mixin Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Bump astroid to 2.9.0, update changelogv2.9.0 | Pierre Sassoulas | 2021-11-21 | 1 | -1/+1 |
| | |||||
* | Add as_string visitor for Unknown node (#1268) | Marc Mueller | 2021-11-21 | 1 | -0/+5 |
| | |||||
* | Filter ``DeprecationWarning`` in tests of deprecated methods | Daniël van Noord | 2021-11-18 | 1 | -0/+2 |
| | |||||
* | Add typing and deprecation warnings to ``NodeNG.statement`` (#1217) | Daniël van Noord | 2021-11-07 | 1 | -0/+7 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Bump astroid to 2.8.4, update changelogv2.8.4 | Pierre Sassoulas | 2021-10-25 | 1 | -1/+1 |
| | |||||
* | Add assignment expressions to correct ``locals`` for certain parents (#1213) | Daniël van Noord | 2021-10-25 | 1 | -0/+75 |
| | | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Change ``frame`` and ``scope`` of ``NamedExpr`` for certain parents (#1221) | Daniël van Noord | 2021-10-24 | 1 | -0/+111 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Move skip in `ArgumentsNodeTC` to correct function (#1222) | Daniël van Noord | 2021-10-24 | 1 | -3/+3 |
| | | | | * Move skip in `ArgumentsNodeTC` to correct function | ||||
* | Bump astroid to 2.8.3, update changelogv2.8.3 | Pierre Sassoulas | 2021-10-17 | 1 | -1/+1 |
| | |||||
* | Bump astroid to 2.8.1, update changelogv2.8.1-rc1 | Pierre Sassoulas | 2021-10-06 | 1 | -0/+1 |
| | |||||
* | Fix regression on ClassDef inference (#1181) | Daniël van Noord | 2021-09-17 | 1 | -0/+5 |
| | |||||
* | Add typing to scope() (#1170) | Daniël van Noord | 2021-09-15 | 1 | -1/+0 |
| | |||||
* | Add typing in tests directory (#1163) | Pierre Sassoulas | 2021-09-14 | 1 | -107/+116 |
| | | | | | | | * Add typing in the tests/ directory * Add some assert for mypy's sake * Avoid adding mypy_extension by using pytest skip | ||||
* | astroid.context: import object one by one instead of the entire module | Pierre Sassoulas | 2021-08-30 | 1 | -6/+14 |
| | |||||
* | Replace the constant BUILTINS by the string 'builtins' | Pierre Sassoulas | 2021-08-19 | 1 | -4/+4 |
| | | | | | | | | This make for clearer and also sligtly faster code (means time seems to decrese by 0.68% with this change alone (astroid/pylint) in the pylint tests benchmarks). Done because we were using an import from astroid from astroid.bases for one of those, which is kinda messy. | ||||
* | Fix expression has type "str", base class "_NodeTest" defined the type as "None" | Pierre Sassoulas | 2021-08-18 | 1 | -1/+1 |
| | |||||
* | Bump astroid to 2.7.0, update changelogv2.7.0 | Pierre Sassoulas | 2021-08-15 | 1 | -1/+2 |
| | |||||
* | Remove use of deprecated node_classes and scoped_node API in astroid | Pierre Sassoulas | 2021-08-10 | 1 | -1/+1 |
| | |||||
* | Add 'Pattern' to the astroid.nodes's API | Pierre Sassoulas | 2021-08-05 | 1 | -2/+2 |
| | |||||
* | Create 'nodes' package, deprecate 'node_classes' and 'scoped_nodes' | Pierre Sassoulas | 2021-08-05 | 1 | -2/+2 |
| | | | | | | | Add deprecation warning and retro-compatibility for old API in node_classes and scoped_nodes. To be removed in 3.0.0. | ||||
* | Conditional test pickle (#935) | René Fritze | 2021-08-05 | 1 | -1/+21 |
| | | | | | | | * [tests] adds a test for conditional definition lookup * [tests] duplicate the conditional def test into a sub package * add pyMOR example code and change test to only check for Uninferable Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Bump astroid to 2.6.6, update changelogv2.6.6 | Pierre Sassoulas | 2021-08-03 | 1 | -1/+1 |
| | |||||
* | Update pylint to 2.9.6 (#1114) | Marc Mueller | 2021-08-02 | 1 | -3/+3 |
| | | | | * Update pylint to v2.9.6 * Code updates | ||||
* | Bump astroid to 2.6.4, update changelog | Pierre Sassoulas | 2021-07-20 | 1 | -1/+1 |
| | |||||
* | Bump astroid to 2.6.3, update changelogv2.6.3 | Pierre Sassoulas | 2021-07-19 | 1 | -1/+1 |
| | |||||
* | Add new If guard helper methods (#1099) | Marc Mueller | 2021-07-13 | 1 | -0/+58 |
| | | | | | * Add new if guard helper methods Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix copyright links (#1084) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | * Fix link in license header * Fix link to cpython | ||||
* | Create a constant for BUILTINS in astroid.constants | Pierre Sassoulas | 2021-06-26 | 1 | -3/+1 |
| | |||||
* | Rename non obvious PY3X constant to PY3X_PLUS | Pierre Sassoulas | 2021-06-21 | 1 | -6/+6 |
| | | | | See https://github.com/PyCQA/astroid/pull/1069\#issuecomment-865206120 |