name: Python lint

on:
  push:
  pull_request:
  schedule:
    - cron: '3 19 * * SUN'

jobs:
  build:

    name: Python linting
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.8

      - name: Install dependencies
        run: |
              python -m pip install --upgrade pip
              pip install --upgrade pylint black mypy voluptuous-stubs

      - name: Install
        run: python setup.py install

      - name: Run mypy
        run: mypy minfraud tests

      - name: Run Pylint
        run: pylint minfraud

      - name: Run Black
        run: black --check --diff .

name: Python lint

on:
  push:
  pull_request:
  schedule:
    - cron: '3 19 * * SUN'

jobs:
  build:

    name: Python linting
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v2
        with:
          python-version: 3.8

      - name: Install dependencies
        run: |
              python -m pip install --upgrade pip
              pip install --upgrade pylint black mypy voluptuous-stubs chardet==3.0.4

      - name: Install
        run: python setup.py install

      - name: Run mypy
        run: mypy minfraud tests

      - name: Run Pylint
        run: pylint minfraud

      - name: Run Black
        run: black --check --diff .

Work around chardet/aiohttp compat issue in CI
Work around chardet/aiohttp compat issue in CI
