Skip to content

Commit

Permalink
Remove tokelor and astboom notices
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Dec 25, 2024
1 parent 8c1d0df commit 9b071f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .importlinter
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ forbidden_modules =
pycodestyle
mccabe

astboom
tokelor

ignore_imports =
# These modules must import from flake8 to provide required API:
wemake_python_styleguide.checker -> flake8
Expand Down
6 changes: 3 additions & 3 deletions docs/pages/api/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Viewing module contents
We recommend to create a simple file with just the part that does not work.
We usually call this file ``ex.py`` and remove it before the actual commit.

To reveal internals of this Python source code, you can use following options:
To reveal internals of this Python source code use:

* ``astboom < ex.py`` will show you pretty-printed ``ast`` contents
* ``tokelor ex.py`` will show you pretty-printed token stream
* ``python3.12 -m ast ex.py``
* ``python3.12 -m tokenize ex.py``

It might not be enough to find some complex cases, but it helps.

Expand Down

0 comments on commit 9b071f6

Please sign in to comment.