diff --git a/.github/workflows/black_auto.yml b/.github/workflows/black_auto.yml new file mode 100644 index 000000000..4c0dca0c6 --- /dev/null +++ b/.github/workflows/black_auto.yml @@ -0,0 +1,41 @@ +--- +name: Run black (auto) + +defaults: + run: + # To load bashrc + shell: bash -ieo pipefail {0} + +on: + pull_request: + branches: [master, dev] + paths: + - "**/*.py" + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + name: Black + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Set up Python 3.8 + uses: actions/setup-python@v5 + with: + python-version: 3.8 + + - name: Install Python dependencies + run: pip install .[dev] + + - name: Run linters + uses: wearerequired/lint-action@v2 + with: + auto_fix: true + black: true + black_auto_fix: true diff --git a/FUNDING.json b/FUNDING.json index 189cf2f95..b356f2a74 100644 --- a/FUNDING.json +++ b/FUNDING.json @@ -6,7 +6,7 @@ }, "drips": { "ethereum": { - "ownedBy": "0x5e2BA02F62bD4efa939e3B80955bBC21d015DbA0" + "ownedBy": "0xc44F30Be3eBBEfdDBB5a85168710b4f0e18f4Ff0" } } }