Skip to content

Bump black from 23.9.1 to 23.12.1 #34

Bump black from 23.9.1 to 23.12.1

Bump black from 23.9.1 to 23.12.1 #34

Workflow file for this run

name: DNSrecon CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
Python:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 8
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.8, 3.9, 3.10.12, 3.11]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics --config .flake8
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-line-length=127 --statistics --config .flake8
- name: Run pytest tests
run: |
python3 -m pytest .