Skip to content

Commit f7c38e3

Browse files
authored
Merge pull request #19 from rainx/feature/remove-unused-and-outdated-code
Update version to 2.1.3 and enhance changelog for code cleanup and ma…
2 parents b432b86 + d21710e commit f7c38e3

16 files changed

+68
-463
lines changed

Changelog-zh_CN.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
版本遵循语义化版本控制 (<major>.<minor>.<patch>)。
44

5+
## cn-stock-holidays 2.1.3 (2025-01-27)
6+
7+
### 改进
8+
9+
- **代码清理和维护**: 移除过时和无用的代码以提高项目可维护性
10+
- 移除 `wind_holidays.py` - 过时的 Wind API 集成脚本
11+
- 移除 `tools/in/` 目录中的临时数据处理工具
12+
- 移除已废弃的 `utils/` 目录及其无用的数据获取脚本
13+
- 通过将 `debug.py` 合并到 `dev_shell.py` 来整合开发脚本
14+
- 简化 `ipython_config.py` 配置
15+
- 更新文档和脚本引用
16+
- 在保持 100% 测试覆盖率的同时减少约 500+ 行无用代码
17+
518
## cn-stock-holidays 2.1.2 (2025-01-27)
619

720
### 错误修复

Changelog.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
Versions follow Semantic Versioning (<major>.<minor>.<patch>).
44

5+
## cn-stock-holidays 2.1.3 (2025-01-27)
6+
7+
### Improvements
8+
9+
- **Code Cleanup and Maintenance**: Removed outdated and unused code to improve project maintainability
10+
- Removed `wind_holidays.py` - outdated Wind API integration script
11+
- Removed temporary data processing tools in `tools/in/` directory
12+
- Removed deprecated `utils/` directory with unused data fetching scripts
13+
- Consolidated development scripts by merging `debug.py` into `dev_shell.py`
14+
- Simplified `ipython_config.py` configuration
15+
- Updated documentation and script references
16+
- Reduced codebase by ~500+ lines of unused code while maintaining 100% test coverage
17+
518
## cn-stock-holidays 2.1.2 (2025-01-27)
619

720
### Bug Fixes

cn_stock_holidays/tools/in/2019_holidays_includes_weekends.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

cn_stock_holidays/tools/in/2023-readme.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

cn_stock_holidays/tools/in/2023_holidays_includes_weekends.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

cn_stock_holidays/tools/remove_weekend_from_day_list.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

cn_stock_holidays/wind_holidays.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "cn-stock-holidays"
7-
version = "2.1.2"
7+
version = "2.1.3"
88
description = "A List of china stock exchange holidays"
99
readme = "README.md"
1010
license = { text = "MIT" }

scripts/README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -61,23 +61,6 @@ python scripts/quick_test.py
6161
- Cache management
6262
- Common utilities
6363

64-
### `debug.py` - Full Debug Environment
65-
66-
A comprehensive debug environment with advanced IPython features.
67-
68-
**Usage:**
69-
70-
```bash
71-
python scripts/debug.py
72-
```
73-
74-
**Features:**
75-
76-
- Full IPython environment
77-
- All modules and functions imported
78-
- Custom configuration and aliases
79-
- Advanced debugging capabilities
80-
8164
## IPython Configuration
8265

8366
### `ipython_config.py` - IPython Configuration

scripts/debug.py

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)