tai271828 / pycontw-postevent-report-generator-legacy

Analyze attendee information
BSD 3-Clause "New" or "Revised" License
0 stars 12 forks source link

Make tasks.py a package #30

Closed Lee-W closed 5 years ago

Lee-W commented 5 years ago

Branch package-tasks is finished for this issue. But, I want to send it after PR #31 merged so that I can fix the .drone.yml inside as well

tai271828 commented 5 years ago

Would you please elaborate a bit why you want to make it as a package?

Lee-W commented 5 years ago

It seems to me that break tasks into different modules would enhance the maintainability. Another reason is that group similar purpose commands in the same namespace make it easier to use

Available tasks:

  clean       Remove all the tmp files in .gitignore
  clean-env   Remove virtual environement
  cov         Run testcase
  develop     Install script in pipenv environement in development mode
  flake8      Check style through flake8
  init        Install production dependencies
  init-dev    Install development dependencies
  install     Install script in pipenv environement
  lint        Check style throguh linter (Note that pylint is not included)
  mypy        Check style through mypy
  pylint      Check style through pylint
  reformat    Reformat python files throguh black
  secure      Check package security
  test        Run testcase
  test-cli    Test whether the cli is runnable
Available tasks:

  secure              Check package security
  build.clean         Remove all the tmp files in .gitignore
  build.develop       Install script in pipenv environement in development mode
  build.install       Install script in pipenv environement
  build.test-cli      Test whether the cli is runnable
  env.clean           Remove virtual environement
  env.init            Install production dependencies
  env.init-dev        Install development dependencies
  style.flake8        Check style through flake8
  style.mypy          Check style through mypy
  style.pylint        Check style through pylint
  style.reformat      Reformat python files throguh black
  style.run (style)   Check style throguh linter (Note that pylint is not included)
  test.cov            Run test covreage check
  test.run (test)     Run test cases
Lee-W commented 5 years ago

Pull Request #32 has been merged. Close this issue.