Arnaud Gelas
8dfcc078c4
Fix isort failures in core ( #5526 )
...
Remove from skipped module in pyproject.toml and fix failures on:
- pytorch_lightning/core/*.py
2021-01-27 05:02:16 -05:00
Arnaud Gelas
a9d9f33a86
Fix isort failures in trainer ( #5529 )
...
Remove from skipped module in pyproject.toml and fix failures on:
- pytorch_lightning/trainer/*.py
2021-01-18 13:42:50 -05:00
Arnaud Gelas
61e1d8772d
Fix isort failures in metrics ( #5528 )
...
Remove from skipped module in pyproject.toml and fix failures on:
- pytorch_lightning/metrics/*.py
2021-01-18 07:10:53 -05:00
Arnaud Gelas
1ff6b18e8a
Fix pre-commit isort failure on pytorch_lightning/accelerators ( #5503 )
...
Remove from skipped module in pyproject.toml and fix failures on:
- pytorch_lightning/accelerators/*.py
2021-01-16 14:10:56 -05:00
Arnaud Gelas
6386b8d36b
Fix isort a few failures ( #5504 )
...
Remove from skipped module in pyproject.toml and fix failures on:
- pytorch_lightning/callbacks/*.py
- pytorch_lightning/cluster_environments/*.py
- pytorch_lightning/profiler/*.py
- pytorch_lightning/tuner/*.py
Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz>
2021-01-15 17:44:27 -05:00
Arnaud Gelas
e4688ae754
Fix isort failures in utilities ( #5530 )
...
Remove from skipped module in pyproject.toml and fix failures on:
- pytorch_lightning/utilities/*.py
2021-01-15 13:57:40 -05:00
Arnaud Gelas
8629048659
Fix isort failures in loggers ( #5527 )
...
Remove from skipped module in pyproject.toml and fix failures on:
- pytorch_lightning/loggers/*.py
2021-01-15 22:53:56 +05:30
Arnaud Gelas
23c241d083
Fix pre-commit isort failure on tests/base/*.py ( #5429 )
...
* Remove tests.base from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/base/*.py
2021-01-15 03:01:57 -05:00
Arnaud Gelas
7523e6940f
Fix pre-commit isort failure on tests/backends/*.py ( #5430 )
...
* Fix pre-commit isort failure on tests/backends/*.py
* Remove tests.backends from skipped module in pyproject.toml
2021-01-14 19:32:41 -05:00
Arnaud Gelas
9515750548
Fix pre-commit isort failure on tests/loggers/*.py ( #5425 )
...
* Remove tests.loggers from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/loggers/*.py
2021-01-14 14:36:28 -05:00
Arnaud Gelas
6d83d4457d
Fix pre-commit isort failure on tests/callbacks/*.py ( #5428 )
...
* Remove tests.callbacks from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/callbacks/*.py
2021-01-14 13:15:34 -05:00
Jirka Borovec
16224781ed
anti-colision isort config ( #5511 )
2021-01-14 10:33:09 -05:00
Arnaud Gelas
ac531ec945
Fix pre-commit isort failure on tests/models/*.py ( #5423 )
...
* Remove tests.models from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/models/*.py
2021-01-14 09:42:01 -05:00
Arnaud Gelas
7fb0221934
Fix pre-commit isort failure on tests/trainer/*.py ( #5421 )
...
* Remove tests.trainer from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/trainer/*.py
2021-01-14 07:51:20 -05:00
Arnaud Gelas
d8a0c7d82a
Fix pre-commit isort failure on tests/metrics/*.py ( #5424 )
...
* Remove tests.metrics from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/metrics/*.py
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2021-01-14 06:05:28 -05:00
Arnaud Gelas
84d1040b32
Fix pre-commit isort failure on tests/plugins/*.py ( #5422 )
...
* Fix pre-commit isort failure on tests/plugins/*.py
* Remove tests.plugins from skipped module in pyproject.toml
* Update pyproject.toml
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2021-01-14 03:57:16 -05:00
Rohit Gupta
29bcf30984
[tests/core] Updated with BoringModel and added BoringDataModule ( #5432 )
...
* update with BoringModel and introduce BoringDataModule
* isort
* fix
* rm random_split
* fix test
* fix test
* update
* update test_results
* val_step
* update tests
* rebase
* rebase
2021-01-13 01:48:37 -05:00
Arnaud Gelas
2373858b33
Fix pre-commit isort failure on tests/checkpointing/*.py ( #5427 )
...
* Remove tests.checkpointing from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/checkpointing/*.py
2021-01-12 03:31:51 -05:00
Arnaud Gelas
b9530d291e
Fix pre-commit isort failure on tests/utilities/*.py ( #5420 )
...
* Remove tests.utilities from skipped module in pyproject.toml
* Fix pre-commit isort failure on tests/utilities/*.py
2021-01-11 14:00:39 -05:00
Jirka Borovec
53b0cb910b
update isort config ( #5335 )
...
* update isort config
* apply
(cherry picked from commit 724f1051f0
)
2021-01-06 12:49:23 +01:00
Akihiro Nitta
abc690d720
Apply isort to `pl_examples/` ( #5291 )
...
* Remove examples from isort ignore list
* Apply isort
(cherry picked from commit 0c7c9e8540
)
2021-01-06 12:47:53 +01:00
Akihiro Nitta
151d86e40b
Update isort config ( #5142 )
...
* Update isort config
* Apply isort with new config
* Fix typo in isort config
* fix rebase
Co-authored-by: Rohit Gupta <rohitgr1998@gmail.com>
2021-01-05 09:57:37 +01:00
Akihiro Nitta
ece09f0c5f
Apply import formatting to files in the 2nd top level ( #4717 )
...
* Update pyproject.toml
* Apply isort to files in second level
Co-authored-by: chaton <thomas@grid.ai>
2020-11-18 00:29:09 +01:00
Nathan Painchaud
2d78d9b84a
CI: Added isort import check for the code on pull-request ( #4242 )
...
* added isort CI job and updated isort config
* changed CI check output from files to full diff
* added isort pre-commit hook
* Added missing first party and restricted files affected by isort
* Applied isort to root-level, docs and benchmarks
* Apply suggestions from code review
Co-authored-by: Nathan Painchaud <nathanpainchaud@gmail.com>
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: chaton <thomas@grid.ai>
2020-11-13 22:57:46 +01:00
kumuji
fd7814d287
Added black formater for the code with code-checker on pull ( #1610 )
...
* black
Added throught black.toml other options are hard so far
No caching for black github action
Moved from black.toml to pyproject.toml
Exclude not only yml but also yaml
Update pyproject.toml
Co-authored-by: Thomas Johansen <thomasjo@gmail.com>
Update .github/workflows/code-formatting-check.yml
mergify
Remove formating check
E231 error ignoring because of black formating
Updated CONTRIBUTING to the master
* Update .github/workflows/code-formatting-check.yml
* Bump black to 19.10b0 version
* resolved incorrect merge of CONTRIBUTING,
Black skipping string normalization
* Minor fixes in CONTRIBUTING, two typos
* Update setup.cfg
* chlog
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: Jirka <jirka@pytorchlightning.ai>
2020-06-03 18:23:14 +02:00
Hadrien Mary
89d5772f55
Split callbacks ( #849 )
...
* add .vscode in .gitignore
* Split callbacks in individual files + add a property to Callback for easy trainer instance access
* formatting
* Add a conda env file for quick and easy env setup to develop on PL
* Adress comments
* add fix to kth_best_model
* add some typing to callbacks
* fix typo
* add autopep8 config to pyproject.toml
* format again
* format
* fix toml
* fix toml again
* consistent max line length in all config files
* remove conda env file
* Update pytorch_lightning/callbacks/early_stopping.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update pytorch_lightning/callbacks/model_checkpoint.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* docstring
* Update pytorch_lightning/callbacks/model_checkpoint.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* Update pytorch_lightning/callbacks/model_checkpoint.py
Co-Authored-By: Jirka Borovec <Borda@users.noreply.github.com>
* fix logic error
* format
* simplify if/else
* format
* fix linting issue in changelog
* edit changelog about new callback mechanism
* fix remaining formating issue on CHANGELOG
* remove lambda function because it's compatible with pickle (used during ddp)
Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2020-02-22 21:45:34 -05:00
Shreyas Bapat
4809de8765
Fix pip install too
2019-04-03 22:47:55 +05:30