Commit Graph

13 Commits (d9fee4fbb11e70207a0edf57502dc535fa726eb5)

Author SHA1 Message Date
tripleMu 498080b1d3
Use official isort (#895)
* fix lint

* cn fix lint
2023-01-31 14:04:16 +08:00
Zaida Zhou 2242fcabc3
[Fix] Upgrade the version of isort to fix lint error (#890)
* [Fix] Upgrade the version of isort to fix lint error

* Update .pre-commit-config-zh-cn.yaml

* Update .pre-commit-config.yaml
2023-01-29 15:53:11 +08:00
Qian Zhao 09a195b24c
[Docs] Fix Chinese docs whitespaces (#521)
* change pre-commit-config

* modify docs with pre-commit hook

* change pre-commit-config-zh-cn

* fallback readme.md

Co-authored-by: HAOCHENYE <21724054@zju.edu.cn>
2022-10-17 14:20:00 +08:00
Zaida Zhou 26e5462447
[Dev]: Upgrade pre commit hooks (#576)
* Upgrade the versions of pre-commit-hooks

* update zh-cn.yaml
2022-10-08 10:31:19 +08:00
Zaida Zhou 6501d21eab
[Fix]: fix mdformat version to support python3.6 (#315) 2022-06-21 16:32:58 +08:00
Zaida Zhou 86ffc19c9c
Add pyupgrade pre-commit hook (#232)
* Add pyupgrade pre-commit hook

* fix ut

* remove comments
2022-05-19 17:56:31 +08:00
Zaida Zhou f5867f8442
Replace markdownlint with mdformat to avoid installing ruby (#233)
* Replace markdownlint with mdformat to avoid installing ruby

* fix circleci
2022-05-17 20:52:22 +08:00
Zaida Zhou 84e60f6463
Replace the URL of flake8 in .pre-commit-hook.yml (#231)
* pull flake8 from github

* pull flake8 from github
2022-05-17 17:30:01 +08:00
Mashiro 8751231103
add config test (#10)
* add config test

* Fix typo

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Update tests/config/test_config.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>

* Reconstruct config test

* Fix import logic and error test

* Fix path error

* Restructuring Config

* simplify test logic

simplify test logic

* rename test_config file

* add test complex dump and pretty text

* adjust test sequence according to comment

adjust test sequence according to comment

* add comment and test for simple.config.py

* add config test data

* add init

* remove __pycache__

* fix as comment

* add syntax test case

* remove tmp path and modify comment

* add test for setattr

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
2022-02-17 17:46:06 +08:00
Zaida Zhou 6ba7ac3a8e
Add the unittest of registry (#5)
* Add the unittest of registry

* improve the format

* fix the test_repr

* refactor the test_init

* add the copyright for tests directory

* add more unit tests

* fix error

* add unit tests for _search_child and _get_root_registry

* build_from_cfg supports dict, ConfictDict and Config

* improve docstring
2022-02-15 15:37:53 +08:00
Zaida Zhou e88ae3a2c5
[Docs] Add the structure of the documentation (#12)
* [Docs] Configure the documentation

* delete mypy.ini
2022-02-12 22:14:15 +08:00
Wenwei Zhang e6652850c5
update isort version (#1) 2022-02-09 20:05:26 +08:00
ZwwWayne 867bac5172 init commit to setup 2022-02-08 17:37:03 +08:00