Skip to content

Commit

Permalink
Fix linting errors and format code
Browse files Browse the repository at this point in the history
  • Loading branch information
E S committed Jan 2, 2025
2 parents c896bb6 + f935ccd commit 4f7e3e6
Show file tree
Hide file tree
Showing 74 changed files with 3,196 additions and 1,406 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# Temporary files and generated data
tmp/
tmp-db/
data/
output.log

Expand Down
21 changes: 18 additions & 3 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,29 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry

- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'poetry'
cache-dependency-path: './poetry.lock'

- name: Prepare environment
run: sudo apt-get install -y python3-pip && pip3 install -r tests/requirements.txt
run: poetry install --no-root

- name: Run black formatting
run: poetry run poe format --check --verbose

- name: Run pylint linter
run: poetry run poe lint --verbose

- name: Cache Rust
uses: Swatinem/rust-cache@v2

- name: Build Floresta
run: cargo build

- name: Run functional tests
run: python tests/run_tests.py
- name: Run functional tests tasks
run: poetry run poe tests
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# Temporary files and generated data
tmp/
tmp-db/
data/
output.log

Expand Down
Loading

0 comments on commit 4f7e3e6

Please sign in to comment.