mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-09 09:02:12 +00:00
Pylint fix (#460)
* Pylint fix * Directory modified * Python Source added * Pylint modified
This commit is contained in:
parent
4d8a9c0a9d
commit
1fee39dddf
13
.github/workflows/pylint.yml
vendored
13
.github/workflows/pylint.yml
vendored
@ -27,14 +27,17 @@ jobs:
|
|||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
- name: Install dependencies
|
- name: Install Ubuntu related dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
sudo apt-get install -y libsasl2-dev unixodbc-dev python3-venv
|
||||||
pip install pylint
|
- name: Install Python & Openmetadata related dependencies
|
||||||
|
run: |
|
||||||
|
python3 -m venv env
|
||||||
|
source env/bin/activate
|
||||||
cd ingestion
|
cd ingestion
|
||||||
sudo apt-get install -y libsasl2-dev unixodbc-dev
|
pip install '.[all]' pylint
|
||||||
pip install '.[all]'
|
|
||||||
|
|
||||||
- name: Analysing the code with pylint
|
- name: Analysing the code with pylint
|
||||||
run: |
|
run: |
|
||||||
|
source env/bin/activate
|
||||||
pylint $(find ./ingestion/src -path ./ingestion/src/metadata/generated -prune -false -o -type f -name "*.py")
|
pylint $(find ./ingestion/src -path ./ingestion/src/metadata/generated -prune -false -o -type f -name "*.py")
|
Loading…
x
Reference in New Issue
Block a user