-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #495 from DHI/fix_ruff_config
Add missing ruff lint default rules
- Loading branch information
Showing
2 changed files
with
26 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ exclude = ["notebooks", "tests"] | |
allow-direct-references = true | ||
|
||
[project] | ||
name="modelskill" | ||
version="1.2.dev0" | ||
name = "modelskill" | ||
version = "1.2.dev0" | ||
dependencies = [ | ||
"numpy > 1.24.4", | ||
"pandas >= 1.4", | ||
|
@@ -23,11 +23,11 @@ dependencies = [ | |
] | ||
|
||
authors = [ | ||
{ name="Jesper Sandvig Mariegaard", email="[email protected]" }, | ||
{ name="Henrik Andersson", email="[email protected]" }, | ||
{ name = "Jesper Sandvig Mariegaard", email = "[email protected]" }, | ||
{ name = "Henrik Andersson", email = "[email protected]" }, | ||
] | ||
description="Compare results from simulations with observations." | ||
license="MIT" | ||
description = "Compare results from simulations with observations." | ||
license = "MIT" | ||
readme = "README.md" | ||
requires-python = ">=3.10" | ||
classifiers = [ | ||
|
@@ -44,45 +44,36 @@ classifiers = [ | |
] | ||
|
||
[project.optional-dependencies] | ||
docs = ["quarto-cli==1.5.57", | ||
"quartodoc==0.9.1", | ||
"netCDF4", | ||
"plotly >= 4.5", | ||
"dask", | ||
] | ||
docs = [ | ||
"quarto-cli==1.5.57", | ||
"quartodoc==0.9.1", | ||
"netCDF4", | ||
"plotly >= 4.5", | ||
"dask", | ||
] | ||
|
||
dev = ["pytest", | ||
"plotly >= 4.5", | ||
"ruff==0.6.2",] | ||
dev = ["pytest", "plotly >= 4.5", "ruff==0.6.2"] | ||
|
||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
"openpyxl", | ||
"dask", | ||
"mypy", | ||
"types-PyYAML", | ||
"geopandas", | ||
] | ||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
"openpyxl", | ||
"dask", | ||
"mypy", | ||
"types-PyYAML", | ||
"geopandas", | ||
] | ||
|
||
notebooks = [ | ||
"nbformat", | ||
"nbconvert", | ||
"jupyter", | ||
"plotly", | ||
"shapely", | ||
"seaborn", | ||
] | ||
notebooks = ["nbformat", "nbconvert", "jupyter", "plotly", "shapely", "seaborn"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/DHI/modelskill" | ||
"Bug Tracker" = "https://github.com/DHI/modelskill/issues" | ||
|
||
|
||
|
||
[tool.ruff.lint] | ||
ignore = ["E501"] | ||
select = ["D200", "D205"] | ||
select = ["E4", "E7", "E9", "F", "D200", "D205"] | ||
|
||
[tool.mypy] | ||
python_version = "3.9" | ||
|