diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..85ec48fb --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,35 @@ +name: Python CI + +on: + pull_request: + push: + branches: + - implementacao + + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Instalando o Python + uses: actions/setup-python@v4 + with: + python-version: '3.10' + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + pip install selenium + pip install PyPDF2 + + + - name: Run Pylint + run: + pylint WebScraping/ExtrairJson.py + pylint WebScraping/Regex.py + pylint WebScraping/WebScraper.py diff --git a/__pycache__/test_WebScraper.cpython-38.pyc b/__pycache__/test_WebScraper.cpython-38.pyc deleted file mode 100644 index aa11493d..00000000 Binary files a/__pycache__/test_WebScraper.cpython-38.pyc and /dev/null differ