Skip to content

Commit

Permalink
Use only ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Feb 27, 2024
1 parent 910b49b commit 7b333dc
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 188 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml → .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
installer-parallel: true
- name: Install dependencies
run: poetry install --no-interaction
- name: Check Black formatting and flake8 rules
- name: Lint code
run: poetry run make lint
- name: Check types using MyPy
run: |
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Federico Tedin
Copyright (c) 2024 Federico Tedin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,9 @@ install-types:
types:
mypy wikiquote

format:
isort wikiquote tests
black wikiquote tests

lint:
isort --check wikiquote tests
black --check wikiquote tests
ruff wikiquote tests
ruff check --fix --output-format=full --show-fixes wikiquote tests
ruff format wikiquote tests

package:
make clean
Expand Down
Loading

0 comments on commit 7b333dc

Please sign in to comment.