| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* Remove `PY38_PLUS` constant
* Remove `BUILTINS` constants
* Remove `Load` + `Store` + `Del`
* Remove `BOOL_SPECIAL_METHOD`
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Check for None instead of asserting
* Cut type ignores
* Cut hasattr assertion
* Define has_underlying_object in EmptyNode
* No None for build_from_import
* Cut _safe_has_attribute
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
| | |
|
| | |
|
| |
|
|
| |
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| | |
|
| |
|
|
| |
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
|
| |
|
|
| |
(#1326)
|
| | |
|
| |
|
|
|
|
|
|
| |
* Add end_lineno and end_col_offset infomation
* Add annotations for fields that are always None
* Changelog entry
Requires Python 3.8
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
| |
See https://github.com/PyCQA/astroid/pull/1069\#issuecomment-865206120
|
| | |
|
| | |
|
| | |
|
| |
|
| |
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
|
|
See https://github.com/PyCQA/astroid/pull/1045\#discussion_r654572722
|