Skip to content

Template for project to be include in the Qiskit Ecosystem

License

Notifications You must be signed in to change notification settings

mickahell/qiskit-ecosystem_template

Repository files navigation

ecosystem

Qiskit Ecosystem project template

  • This project is a template project with everything need to be add inside the Qiskit Ecosystem.
  • The workflows inside this template are the same than the one running adding and weekly checks.

Structure

  • .pylinrc : config file for python linter
  • .coveragerc : config file for python coverage
  • tox.ini : file for running tox cmd
  • .gitignore : python gitignore content
  • requirements.txt : install for running project
  • requirements-dev.txt : install for dev the project
  • setup.py : python module/package configuration
  • setup.cfg : python module/package configuration
  • ecosystem.json : config file for Ecosystem testing
  • src/ : repository for all the source of the project
  • tests/ : repository for the units tests of the project

Tests execution

  • Run for style checks tox -elint
  • Run for ecosystem.json checks tox -ejson
  • Run for tests tox -epy39
  • Run coverage tox -ecoverage
  • Run black tox -eblack
    • Run black on unitary file black <file>

Actions

  • The worflow tests.yml is here to tests automatically at every push:
    • units tests
    • coverage
    • lint
    • black
  • The lastest version of the files .pylinrc and .coveragerc are automatically download during the actions.

Qiskit actions

  • The workflows qiskit.yml is here to tests the project are still update with the actual and dev version of Qiskit (if Qiskit is not false in ecosystem.json).

About

Template for project to be include in the Qiskit Ecosystem

Topics

Resources

License

Stars

Watchers

Forks

Languages