summaryrefslogtreecommitdiffstats
path: root/.github/workflows/linting.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linting.yml')
-rw-r--r--.github/workflows/linting.yml13
1 files changed, 1 insertions, 12 deletions
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index e71252bbeb7..edf6025d597 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -45,12 +45,10 @@ jobs:
python-version: "3.9"
architecture: x64
- - name: Get changed files in openbb_terminal and openbb_platform for PR
+ - name: Get changed files in openbb_platform for PR
if: github.event_name == 'pull_request'
run: |
# "Checking PR diff"
- echo "terminal_files=$(git diff --diff-filter=d --name-only origin/${{ github.base_ref }}...${{ github.head_ref }} | grep 'openbb_terminal/.*\.py$' | grep -v 'openbb_terminal/openbb/package' | grep -v 'integration' | grep -v 'tests' | xargs)" >> $GITHUB_ENV
- echo $terminal_files
echo "platform_files=$(git diff --diff-filter=d --name-only origin/${{ github.base_ref }}...${{ github.head_ref }} | grep 'openbb_platform/.*\.py$' | grep -v 'openbb_platform/openbb/package' | grep -v 'integration' | grep -v 'tests' | xargs)" >> $GITHUB_ENV
echo $platform_files
@@ -67,15 +65,6 @@ jobs:
- run: black --diff --check .
- run: codespell --ignore-words=.codespell.ignore --skip="$(tr '\n' ',' < .codespell.skip | sed 's/,$//')" --quiet-level=2
- run: ruff .
- # TODO: Enable linters for openbb_terminal once we're ready
- # - run: |
- # # Run linters for openbb_terminal
- # if [ -n "${{ env.terminal_files }}" ]; then
- # mypy --ignore-missing-imports ${{ env.terminal_files }}
- # pylint terminal.py ${{ env.terminal_files }}
- # else
- # echo "No Python files changed in openbb_terminal"
- # fi
- run: |
# Run linters for openbb_platform
if [ -n "${{ env.platform_files }}" ]; then