close
Skip to content

Modernize project structure (pyproject.toml). Use nox for workflows#30

Draft
JuanTecedor wants to merge 4 commits into
TheHive-Project:masterfrom
JuanTecedor:modernize_and_standarize_project
Draft

Modernize project structure (pyproject.toml). Use nox for workflows#30
JuanTecedor wants to merge 4 commits into
TheHive-Project:masterfrom
JuanTecedor:modernize_and_standarize_project

Conversation

@JuanTecedor
Copy link
Copy Markdown

@JuanTecedor JuanTecedor commented Jun 3, 2026

This PR modernizes cortexutils project structure to latest PEP-0621 and aligns the automated testing and workflow steps like it is done in thehive4py.

List of changes:

  • Remove setup.py (superseded by pyproject)
  • Remove setup.cfg (flake8 gets replaced by ruff)
  • Add pyproject.toml (most fields have been migrated and preserved, explicitly pin Python 3.10 as minimum version, see end-of-life)
  • Added nox and migrated workflow steps to rely on it
  • Minor formatting changes and typos removed

@JuanTecedor JuanTecedor changed the title Migrate to pyproject.toml, fix typos, and modernize pipeline Modernize project structure (pyproject.toml). Use nox for workflows Jun 3, 2026
Comment thread .github/workflows/main-cicd.yml Outdated
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.

2 participants