code-format.yml 276 B

123456789101112131415
  1. on:
  2. push:
  3. pull_request:
  4. jobs:
  5. build:
  6. runs-on: ubuntu-18.04
  7. steps:
  8. - uses: actions/checkout@v1
  9. - uses: actions/setup-python@v1
  10. with:
  11. python-version: 3.7
  12. - run: pip install black==19.10b0
  13. - run: pip freeze
  14. - run: black --check .