Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

from __future__ import annotations #2

Open
russelljjarvis opened this issue Nov 9, 2021 · 0 comments
Open

from __future__ import annotations #2

russelljjarvis opened this issue Nov 9, 2021 · 0 comments

Comments

@russelljjarvis
Copy link

I got a lot of minor fixable errors where I just have to move from __future__ import annotations to line 1 in various files, but it wasn't a big deal to edit these lines. It's probably a Python version related thing.

python -m undr init
Traceback (most recent call last):
  File "/home/rudolph/anaconda3/lib/python3.8/runpy.py", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/home/rudolph/anaconda3/lib/python3.8/runpy.py", line 144, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/home/rudolph/anaconda3/lib/python3.8/runpy.py", line 155, in _get_module_details
    code = loader.get_code(mod_name)
  File "<frozen importlib._bootstrap_external>", line 916, in get_code
  File "<frozen importlib._bootstrap_external>", line 846, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/rudolph/anaconda3/lib/python3.8/site-packages/undr/__main__.py", line 10
    from __future__ import annotations
    ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant