Skip to content

Commit 50ae428

Browse files
committed
fix: remove pylint/yapf and fix ruff import issues
- Remove pylint from CI workflow and setup.py - Delete .pylintrc configuration file - Remove yapf configuration from pyproject.toml - Update CONTRIBUTING.md to use ruff commands - Update VS Code settings to use ruff formatter and linter - Fix missing imports that were removed during ruff import reorganization: - Restore Timezone export in scheduler_fn.py - Restore AlertType export in alerts_fn.py - Format remaining files with ruff formatter
1 parent 1c3230e commit 50ae428

File tree

10 files changed

+18
-465
lines changed

10 files changed

+18
-465
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ python3.11 -m pytest --cov=src --cov-report term --cov-report html --cov-report
4949
### Formatting code
5050

5151
```bash
52-
yapf -i -r -p .
52+
python3.11 -m ruff format .
5353
```
5454

5555
### Running lints & type checking
@@ -58,7 +58,7 @@ yapf -i -r -p .
5858
# Type checking
5959
python3.11 -m mypy .
6060
# Linting
61-
python3.11 -m pylint $(git ls-files '*.py')
61+
python3.11 -m ruff check .
6262
```
6363

6464
### Generating Docs

.github/workflows/ci.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ jobs:
4848
source venv/bin/activate
4949
pip3 install --upgrade pip
5050
python3.10 -m pip install -e ".[dev]"
51-
- name: Lint with pylint
52-
run: |
53-
source venv/bin/activate
54-
python3.10 -m pylint $(git ls-files '*.py')
5551
- name: Lint with ruff
5652
run: |
5753
source venv/bin/activate

0 commit comments

Comments
 (0)