neuromorphicsystems / undr

Get your data down UNDR.
MIT License
2 stars 2 forks source link

`from __future__ import annotations` #2

Open russelljjarvis opened 2 years ago

russelljjarvis commented 2 years ago

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
    ^