Removing retries in agent0 in favor of web3py's http provider retry system (enabled by default) #7305
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{github.token}} | |
- name: set up python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
token: ${{github.token}} | |
- name: install requirements | |
run: | | |
python -m venv --upgrade-deps .venv | |
source .venv/bin/activate | |
pip install -e '.[all]' | |
- name: run black | |
run: | | |
source .venv/bin/activate | |
python -m black --config pyproject.toml --check --diff . | |
- name: get all Python files | |
id: list_files | |
run: | | |
echo "files=$(git ls-files '*.py' '*.pyi' | xargs)" >> $GITHUB_OUTPUT | |
- name: run Pylint on files | |
run: | | |
source .venv/bin/activate | |
files="${{ steps.list_files.outputs.files }}" | |
if [ -n "$files" ]; then | |
pylint --rcfile=.pylintrc $files | |
else | |
echo "No Python files found." | |
fi |