@@ -19,7 +19,7 @@ disable = true # Requires confirmation when publishing to pypi.
1919
2020[project ]
2121name = " dtscalibration"
22- version = " 3.0.2 "
22+ version = " 3.0.3 "
2323description = " Load Distributed Temperature Sensing (DTS) files, calibrate the temperature and estimate its uncertainty."
2424readme = " README.rst"
2525license = " BSD-3-Clause"
@@ -71,7 +71,6 @@ dev = [
7171 " hatch" ,
7272 " bump2version" ,
7373 " ruff" ,
74- " isort" ,
7574 " black[jupyter]" , # for formatting
7675 " mypy" , # for type checking
7776 " types-PyYAML" , # for pyyaml types
@@ -108,10 +107,9 @@ features = ["dev"]
108107lint = [
109108 " ruff check src/ tests/ examples/" ,
110109 " black --check docs/notebooks" ,
111- " isort --check-only --diff src/ tests/ examples/" ,
112110 " mypy src/" ,
113111]
114- format = [" isort src/ tests/ examples/ " , " ruff check src/ tests/ examples/ --fix" , " ruff format src/ tests/ examples/" , " black docs/notebooks" , " lint" ,]
112+ format = [" ruff check src/ tests/ examples/ --fix" , " ruff format src/ tests/ examples/" , " black docs/notebooks" , " lint" ,]
115113test = [" pytest ./src/ ./tests/" ,]
116114fast-test = [" pytest ./tests/ -m \" not slow\" " ,]
117115coverage = [
@@ -153,7 +151,7 @@ select = [ # It would be nice to have the commented out checks working.
153151 " PLE" , # Pylint error https://github.com/charliermarsh/ruff#error-ple
154152 # "PLR", # Pylint refactor (e.g. too-many-arguments)
155153 " PLW" , # Pylint warning (useless-else-on-loop)
156- # "I", # isort
154+ " I" , # isort
157155 " SIM" , # flake8-simplify
158156
159157]
@@ -167,9 +165,6 @@ ignore = [
167165 " PLR2004" , # magic value used in comparson
168166 " E501" , # Line too long (want to have fixed
169167]
170- # Allow autofix for all enabled rules (when `--fix`) is provided.
171- fixable = [" E" , " F" , " UP" , " PLE" , " D" ]
172- unfixable = []
173168line-length = 88
174169exclude = [" docs" , " build" ]
175170# Allow unused variables when underscore-prefixed.
@@ -186,17 +181,10 @@ convention = "google"
186181[tool .ruff .mccabe ]
187182max-complexity = 10
188183
189- [tool .ruff .lint .isort ]
184+ [tool .ruff .isort ]
185+ known-first-party = [" dtscalibration" ]
190186force-single-line = true
191187
192- [tool .isort ]
193- py_version =39
194- force_single_line = true
195- known_first_party = [" dtscalibration" ]
196- skip = [" .gitignore" , " .tox" , " docs" , " .venv" ]
197- src_paths = [" src" , " tests" ]
198- line_length = 120
199-
200188[tool .black ]
201189line-length = 88
202190target-version = [' py39' , ' py310' , ' py311' ]
0 commit comments