Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black --> ruff + reformat #59

Merged
merged 1 commit into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
pip install .[dev]

- run: |
black --check .
ruff check .

- run: |
ruff format --check .

- run: |
flake8 .
Expand Down
1 change: 0 additions & 1 deletion modern_python_package/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
This is the package-wide docstring.
"""


from .core import inner_method # noqa: F401
1 change: 0 additions & 1 deletion modern_python_package/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Command-line interface for the package.
"""


from modern_python_package.core import inner_method


Expand Down
1 change: 0 additions & 1 deletion modern_python_package/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Core functionality used throughout the package.
"""


import logging

log = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[project]
name = "modern-python-package"
readme = "README.md"
version = "0.0.2"
version = "0.0.3"
authors = [
{ name = "Dan Miller", email = "[email protected]" }
]
Expand All @@ -14,7 +14,6 @@ dependencies = [
]
[project.optional-dependencies]
dev = [
"black==23.12.1",
"build==1.0.3",
"flake8==6.1.0",
"Flake8-pyproject==1.2.3",
Expand All @@ -23,6 +22,7 @@ dev = [
"pyright==1.1.344",
"pytest==7.4.4",
"pytest-cov==4.1.0",
"ruff==0.4.3",
]

# https://stackoverflow.com/a/73066937
Expand Down
Loading