Skip to content

Commit

Permalink
Use pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Feb 13, 2024
1 parent e0cf6d6 commit a345fd3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip install black flake8 isort
- run: pip install black flake8 isort flake8-pyproject
- run: black --version
- run: isort --version
- run: flake8 --version
Expand Down
2 changes: 1 addition & 1 deletion ai_models_fourcastnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction.

__version__ = "0.0.4"
__version__ = "0.0.5"
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[tool.isort]
profile = "black"
skip = "afnonet.py"

[tool.flake8]
max-line-length = 120
exclude = ["afnonet.py"]
extend-ignore = ["E203"]

[tool.black]
exclude = "afnonet.py"
13 changes: 0 additions & 13 deletions tox.ini

This file was deleted.

0 comments on commit a345fd3

Please sign in to comment.