QPanda3D icon indicating copy to clipboard operation
QPanda3D copied to clipboard

Create a contributor's/maintainer's guide

Open majabojarska opened this issue 4 years ago • 2 comments

I'd like to propose creating a contributor's/maintainer's guide. It would provide information about:

  • preferred formatter & linter,
  • docstring style,
  • test framework,
  • etc.

I can take care of this, however it would be good to discuss the details first :relaxed:.

My suggestions:

  • formatter: black with default settings,
  • linter: flake8,
  • docstring style: numpy,
  • test framework: pytest + tox,
  • CI environment: GitHub Actions.

Then we could develop some automation scripts that would test against lint errors, run unit tests (if implemented) for different Python versions. This could be handled via tox's isolated test environments, both on a local machine and GitHub Actions.

majabojarska avatar Feb 27 '21 18:02 majabojarska

You are welcome to do those updates. Since I had no time at all last year and this year. Any help is welcomed.

ParisNeo avatar May 06 '21 22:05 ParisNeo

Thanks for the answer. I'm quite busy at the time, but will get back to the topic when possible.

majabojarska avatar May 12 '21 07:05 majabojarska