Skip to content

Commit

Permalink
Split config to old version and new version
Browse files Browse the repository at this point in the history
  • Loading branch information
mzr1996 committed Jul 11, 2023
1 parent 4347823 commit 74fa267
Show file tree
Hide file tree
Showing 8 changed files with 869 additions and 1,170 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ repos:
args: ["mmengine", "tests"]
- id: remove-improper-eol-in-cn-docs
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.4.1
rev: v0.812
hooks:
- id: mypy
exclude: "docs"
883 changes: 38 additions & 845 deletions mmengine/config/config.py

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions mmengine/config/lazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ def from_str(cls, string):
return None


LazyAttr = LazyObject


class LazyImportContext:

def __init__(self, enable=True):
Expand Down
Loading

0 comments on commit 74fa267

Please sign in to comment.