• Mayank Mittal's avatar
    Removes unnecessary future imports for Python 3.10 (#503) · 19851b9b
    Mayank Mittal authored
    # Description
    
    With Python 3.10, we don't need future imports at many places. This MR
    removes such cases. Future imports are still needed for the following:
    
    * Circular imports (where we use `TYPE_CHECKING`)
    * Modules where we have the file name the same as module name. Example:
    `schemas` directory has `schemas.py` file
    
    Fixes #390
    
    ## Type of change
    
    - New feature (non-breaking change which adds functionality)
    
    ## Checklist
    
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./orbit.sh --format`
    - [ ] I have made corresponding changes to the documentation
    - [x] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my
    feature works
    - [x] I have run all the tests with `./orbit.sh --test` and they pass
    - [ ] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    19851b9b
Name
Last commit
Last update
..
run_all_tests.py Loading commit data...
tests_to_skip.py Loading commit data...