Cleaning requirement + git fix (#14863)
* drop duplicate docs requirements * skip empty dir * mypy for #14861
This commit is contained in:
parent
047d7088f4
commit
b1b50450ac
|
@ -526,7 +526,8 @@ def _load_aggregate_requirements(req_dir: str = "requirements", freeze_requireme
|
|||
requires = [
|
||||
load_requirements(d, file_name="base.txt", unfreeze=not freeze_requirements)
|
||||
for d in glob.glob(os.path.join(req_dir, "*"))
|
||||
if os.path.isdir(d)
|
||||
# skip empty folder as git artefacts, and resolving Will's special issue
|
||||
if os.path.isdir(d) and len(glob.glob(os.path.join(d, "*"))) > 0
|
||||
]
|
||||
if not requires:
|
||||
return None
|
||||
|
|
|
@ -58,6 +58,7 @@ warn_no_return = "False"
|
|||
module = [
|
||||
"pytorch_lightning.callbacks.progress.rich_progress",
|
||||
"pytorch_lightning.trainer.trainer",
|
||||
"pytorch_lightning.trainer.connectors.checkpoint_connector",
|
||||
"pytorch_lightning.tuner.batch_size_scaling",
|
||||
"lightning_app.api.http_methods",
|
||||
"lightning_app.api.request_types",
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
sphinx>=4.0, <5.0
|
||||
myst-parser>=0.15, <0.17
|
||||
nbsphinx>=0.8.5, <=0.8.9
|
||||
pandoc>=1.0, <=2.2
|
||||
docutils>=0.16, <0.19
|
||||
sphinxcontrib-fulltoc>=1.0, <=1.2.0
|
||||
sphinxcontrib-mockautodoc
|
||||
sphinx-autodoc-typehints>=1.11, <1.15 # strict; v1.15 failing on master (#11405)
|
||||
sphinx-paramlinks>=0.5.1, <=0.5.4
|
||||
sphinx-togglebutton>=0.2, <=0.3.2
|
||||
sphinx-copybutton>=0.3, <=0.5.0
|
||||
sphinx-multiproject
|
||||
jinja2>=3.0.0,<3.1.0
|
Loading…
Reference in New Issue