Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d26dbca20 |
@@ -0,0 +1,23 @@
|
||||
name: Pylint
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.8", "3.9", "3.10"]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pylint
|
||||
- name: Analysing the code with pylint
|
||||
run: |
|
||||
pylint $(git ls-files '*.py')
|
||||
@@ -1,9 +0,0 @@
|
||||
start:
|
||||
./app.py -p 8000
|
||||
update:
|
||||
pipenv update
|
||||
pipenv lock -r > requirements.txt
|
||||
build: update
|
||||
docker-compose build node
|
||||
push: build
|
||||
docker-compose push node
|
||||
+1
-18
@@ -1,19 +1,2 @@
|
||||
#
|
||||
# These requirements were autogenerated by pipenv
|
||||
# To regenerate from the project's Pipfile, run:
|
||||
#
|
||||
# pipenv lock --requirements
|
||||
#
|
||||
|
||||
-i https://pypi.org/simple
|
||||
certifi==2021.10.8
|
||||
charset-normalizer==2.0.12; python_version >= '3'
|
||||
click==8.0.4; python_version >= '3.6'
|
||||
flask==2.0.2
|
||||
idna==3.3; python_version >= '3'
|
||||
itsdangerous==2.1.0; python_version >= '3.7'
|
||||
jinja2==3.0.3; python_version >= '3.6'
|
||||
markupsafe==2.1.0; python_version >= '3.7'
|
||||
Flask==2.0.2
|
||||
requests==2.27.1
|
||||
urllib3==1.26.8; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4'
|
||||
werkzeug==2.0.3; python_version >= '3.6'
|
||||
|
||||
Reference in New Issue
Block a user