-
-
Notifications
You must be signed in to change notification settings - Fork 1k
feat: add draft for real competition #1250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…day's, or it will cost too much time too retrive all submission.
|
You’re facing a CI failure caused by isort in your GitHub Actions workflow, specifically during the lint test docs and build step. Here’s what went wrong and exactly how to fix it. Issue Summary: Your workflow fails at this step. python -m isort --check . -s git_ignore_folder With this error: ERROR: /home/runner/work/RD-Agent/RD-Agent/draft/... This means isort detected incorrect import order or formatting, and because --check is used, it exited with a non-zero code instead of auto-fixing. 🛠️ How to Fix It (Step-by-Step)
You can fix this instantly by running: isort . Or if you want to target just the draft/ directory: isort draft/ This will automatically reformat the imports in all .py files.
Once you’ve run the fix: isort --check . You should see: ✔ Success: no issues found
If the command modified files: git add . That push will re-trigger your GitHub Actions and should now pass the lint test docs and build step.
Add a .isort.cfg or pyproject.toml in your project root with config like: [tool.isort] This ensures team-wide consistency in formatting. 📦 Bonus Tip If you’re using VSCode, install the isort extension and enable Format on Save for auto-fixes as you code. ⸻ ✅ Summary Task |
Description
Motivation and Context
How Has This Been Tested?
Screenshots of Test Results (if appropriate):
Types of changes
📚 Documentation preview 📚: https://RDAgent--1250.org.readthedocs.build/en/1250/