Skip to content

Commit

Permalink
add lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
inbalboa committed Jan 3, 2024
1 parent 72b865b commit e96b65b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ extend-select = [

# flake8-datetimez
"DTZ",

# Refurb
"FURB",
]

extend-ignore = [
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TAG=`python3 setup.py --version`

lint:
@printf "==> linting...\n"
@python3 -m ruff check "$(CURDIR)"
@python3 -m ruff check --preview --unsafe-fixes "$(CURDIR)"

pub:
@printf "==> publishing...\n"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def find_version():
setuptools.setup(
name='monobankua',
version=find_version(),
author='Sergey Shlyapugin',
author='Serhiy Shliapuhin',
author_email='shlyapugin@gmail.com',
description='Monobank.ua API client',
long_description=long_description(),
Expand Down

0 comments on commit e96b65b

Please sign in to comment.