onnxruntime/orttraining/orttraining/python/training/optim
Justin Chu a36caba073
Bump ruff in CI (#15533)
### Description

Bump ruff version in CI and fixed new lint errors. 

- This change enables the flake8-implicit-str-concat rules which helps
detect unintended string concatenations:
https://beta.ruff.rs/docs/rules/#flake8-implicit-str-concat-isc
- Update gitignore to include common python files that we want to
exclude.


### Motivation and Context

Code quality
2023-04-17 10:11:44 -07:00
..
__init__.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
_apex_amp_modifier.py Enable pylint and numpy rules (#15218) 2023-03-27 20:37:53 -07:00
_ds_modifier.py update deepspeed version 0.8.3 (#15415) 2023-04-07 17:59:50 -07:00
_megatron_modifier.py Remove Apex Dependency For Deepspeed FP16_Optimizer (#12077) 2022-07-14 11:15:53 +08:00
_modifier.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
_modifier_registry.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
_multi_tensor_apply.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
config.py Bump ruff in CI (#15533) 2023-04-17 10:11:44 -07:00
fp16_optimizer.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
fused_adam.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00
lr_scheduler.py Adopt linrtunner as the linting tool - take 2 (#15085) 2023-03-24 15:29:03 -07:00