Skip to content

Set up development tools #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 3 tasks
webknjaz opened this issue May 13, 2016 · 0 comments
Open
1 of 3 tasks

Set up development tools #5

webknjaz opened this issue May 13, 2016 · 0 comments
Assignees
Milestone

Comments

@webknjaz
Copy link
Member

webknjaz commented May 13, 2016

  • pre-commit. Here's an example of .pre-commit-config.yaml
- repo: https://github.com/pre-commit/pre-commit-hooks
  sha: master
  hooks:
  - id: trailing-whitespace
    exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  - id: check-merge-conflict
    exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  - id: double-quote-string-fixer
    exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  - id: end-of-file-fixer
    exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  # - id: fix-encoding-pragma
  #   exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  - id: check-xml
    exclude: wargaming|bigworld|saber/(tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  - id: name-tests-test
    exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  - id: flake8
    exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$|Transport/Generated)|surrogates))
  - id: debug-statements
    exclude: wargaming|bigworld|saber/(server|template|tools|transport|scripts/(common/(TemplateData|pydev|bwpydevd.py$)|surrogates))
  • vagga
  • maybe tox to test code against several python versions

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@webknjaz webknjaz added the ready label May 13, 2016
@webknjaz webknjaz modified the milestone: v0.2 May 20, 2016
@webknjaz webknjaz self-assigned this May 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant