• Virgile Andreani's avatar
    Some pylint and pyupgrade cleanups (#29) · 491f93ed
    Virgile Andreani 提交于
    * Fix line endings of empty files
    
    * Use `not in` for membership test
    
    * Remove unused imports
    
    * Fix implicit string concatenation
    
    * Remove python 2 coding statement
    
    * Change python2's Text into str
    
    * Remove useless linebreaks
    
    * Remove useless parentheses
    
    * Use new-style dictionary and set constructors
    
    * There is no more IOError (alias to OSError now)
    
    * Use .format instead of % string interpolation
    
    * Use super() without redundant arguments
    
    * Remove redundant read flag from open
    
    * Avoid building lists unnecessarily
    
    * Use f-strings with python 3.6
    
    * Black reformat
    Co-authored-by: 's avatarMichael Osthege <michael.osthege@outlook.com>
    491f93ed
名称
最后提交
最后更新
..
pics 正在载入提交数据...
apply.png 正在载入提交数据...
apply.svg 正在载入提交数据...
apply2.svg 正在载入提交数据...
creating_a_c_op.rst 正在载入提交数据...
creating_a_numba_jax_op.rst 正在载入提交数据...
creating_an_op.rst 正在载入提交数据...
ctype.rst 正在载入提交数据...
extending_faq.rst 正在载入提交数据...
extending_pytensor_solution_1.py 正在载入提交数据...
graph_rewriting.rst 正在载入提交数据...
graphstructures.rst 正在载入提交数据...
index.rst 正在载入提交数据...
inplace.rst 正在载入提交数据...
op.rst 正在载入提交数据...
other_ops.rst 正在载入提交数据...
pipeline.rst 正在载入提交数据...
scan.rst 正在载入提交数据...
tips.rst 正在载入提交数据...
type.rst 正在载入提交数据...
unittest.rst 正在载入提交数据...
using_params.rst 正在载入提交数据...