Skip to content

Consolidate configuration files into pyproject.toml#3

Merged
paxcalpt merged 1 commit into
HenriquesLab:mainfrom
paxcalpt:consolidate-configuration
Jun 24, 2025
Merged

Consolidate configuration files into pyproject.toml#3
paxcalpt merged 1 commit into
HenriquesLab:mainfrom
paxcalpt:consolidate-configuration

Conversation

@paxcalpt
Copy link
Copy Markdown
Contributor

Summary

• Consolidated 3 configuration files into pyproject.toml to reduce base directory clutter
• Moved _typos.toml[tool.typos] sections in pyproject.toml
• Moved .bandit[tool.bandit] section in pyproject.toml
• Moved src/mermaid-config.json[tool.mermaid] section in pyproject.toml
• Updated noxfile.py to use ruff instead of deprecated black/flake8 commands
• Updated .pre-commit-config.yaml to remove references to deleted config files

Benefits

  • Cleaner project structure: Removes 3 configuration files from base directory
  • Better maintainability: All Python tool configuration centralized in pyproject.toml
  • Modern tooling: Updated to use ruff instead of deprecated black/flake8
  • Standards compliance: Follows Python packaging standards for tool configuration

Test plan

  • Verified ruff check and ruff format work correctly with new configuration
  • Verified typos spell checker reads config from pyproject.toml
  • Verified bandit security scanner uses pyproject.toml config
  • Verified nox -s lint and nox -s format sessions work correctly
  • Verified all pre-commit hooks pass with updated configuration

🤖 Generated with Claude Code

• Move _typos.toml → [tool.typos] sections in pyproject.toml
• Move .bandit → [tool.bandit] section in pyproject.toml
• Move src/mermaid-config.json → [tool.mermaid] section in pyproject.toml
• Update noxfile.py to use ruff instead of deprecated black/flake8
• Update .pre-commit-config.yaml to remove references to deleted config files

This reduces base directory clutter by removing 3 configuration files
while maintaining all tool functionality and improving maintainability.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant