Skip to content

feat(import): add support for import endpoint #2

feat(import): add support for import endpoint

feat(import): add support for import endpoint #2

Workflow file for this run

name: Code Quality
on:
pull_request:
branches:
- main
paths:
- "cytomine/**/*.py"
- "examples/**/*.py"
- "tests/**/*.py"
jobs:
check-lint:
runs-on: ubuntu-latest
steps:
- name: Set up the repository
uses: actions/checkout@v3
- name: Set up Python ${{ vars.PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Check lint
run: pylint --output=lint.txt cytomine examples tests
- name: Upload lint report
if: ${{ always() }}
run: |
echo '# Lint report' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
cat lint.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY