Skip to content

Conversation

@bonnie57
Copy link
Collaborator

@bonnie57 bonnie57 commented Aug 4, 2025

Description

  • Fix order and useless variables

Fix the integration lint issues

  • Introduced for shared fixtures in integration tests
  • Updated pytest.ini to include additional paths for test discovery.
  • Added new init.py files to make tests/integration and tests/integration/config directories Python packages.
  • Enhanced integration tests to utilize the new StoryClient fixture for better dependency management

Integration test reports

image

AndyBoWu and others added 6 commits August 1, 2025 17:16
- Add comprehensive pre-commit hooks for better code quality
  - trailing-whitespace: Remove trailing whitespace
  - end-of-file-fixer: Ensure files end with newline
  - check-added-large-files: Prevent large files from being committed
  - check-json: Validate JSON files
  - check-toml: Validate TOML files
  - debug-statements: Check for debugger imports
  - mixed-line-ending: Normalize line endings
  - isort: Sort imports with black-compatible profile
  - ruff: Fast Python linter with auto-fix capabilities

- Update .gitignore to exclude CLAUDE.md (AI assistant configuration file)
- Maintain existing black formatter configuration
- Create DEVELOPMENT.md with detailed setup instructions
- Add uv installation guide for all platforms
- Document all pre-commit hooks and their purposes
- Include troubleshooting section for common issues
- Update README.md to reference the new development guide
- Provide clear workflow instructions for testing and formatting
- Update black from 23.12.1 to 25.1.0
- Update pre-commit-hooks from v4.5.0 to v5.0.0
- Update ruff from v0.1.9 to v0.8.4
- Keep isort at 5.13.2 (latest stable version)
- Add venv/, env/, ENV/, .venv/, virtualenv/ to .gitignore
- Prevents accidentally committing virtual environment files
- Virtual environments should always be created locally
- Reduces repository size and avoids platform-specific issues
@bonnie57 bonnie57 changed the title [WIP] Fix lint issue Fix lint issue via new pre-commit rules Aug 4, 2025
@bonnie57 bonnie57 changed the base branch from feat/enhance-pre-commit-hooks to main August 4, 2025 09:34
@lucas2brh
Copy link
Collaborator

@bonnie57 please resolve conflicts then we can merge it, thank you.

@bonnie57 bonnie57 merged commit 3d95837 into main Aug 5, 2025
12 checks passed
@bonnie57 bonnie57 deleted the feat/fix-lint-issue branch August 5, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants