Skip to content

added testcase for newline in api key #395

added testcase for newline in api key

added testcase for newline in api key #395

Workflow file for this run

name: python
on: pull_request
env:
APP_API_KEY: ${{ secrets.APP_API_KEY }}
jobs:
lint_stylecheck:
name: Lint and Stylecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: install deps
run: pip install flake8==3.9.0 black==22.3.0 pre-commit-hooks==2.4.0
- name: black
run: black --check python
- name: flake8
run: flake8 --config python/.flake8 python
- name: trailing-whitespace-fixer
run: trailing-whitespace-fixer $(find python -name "*.py" -type f) || exit 1
- name: end-of-file-fixer
run: end-of-file-fixer $(find python -name "*.py" -type f) || exit 1