@@ -39,11 +39,18 @@ dependencies = [
3939 " sciline>=24.6.0" ,
4040 " scipp>=24.09.1" , # Fixed new hist/bin API
4141 " scippneutron>=24.7.0" ,
42+ " scippnexus>=24.9.1" ,
4243 " essreduce" ,
4344]
4445
4546dynamic = [" version" ]
4647
48+ [project .optional-dependencies ]
49+ test = [
50+ " pytest" ,
51+ " pooch" ,
52+ ]
53+
4754[project .urls ]
4855"Bug Tracker" = " https://github.com/scipp/essreflectometry/issues"
4956"Documentation" = " https://scipp.github.io/essreflectometry"
@@ -65,6 +72,7 @@ filterwarnings = [
6572 " error" ,
6673 ' ignore:\n.*Sentinel is not a public part of the traitlets API.*:DeprecationWarning' ,
6774 " ignore:.*metadata to be logged in the data array, it is necessary to install the orsopy package.:UserWarning" ,
75+ " ignore:.*A transformation needs a vector attribute. Falling back to returning underlying value.:UserWarning" ,
6876]
6977
7078[tool .ruff ]
@@ -82,8 +90,8 @@ ignore = [
8290 # https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
8391 " COM812" , " COM819" , " D206" , " D300" , " E111" , " E114" , " E117" , " ISC001" , " ISC002" , " Q000" , " Q001" , " Q002" , " Q003" , " W191" ,
8492]
85- fixable = [" I001" , " B010 " ]
86- isort.known-first-party = [" essreflectometry " ]
93+ fixable = [" B010 " , " I001" , " PT001 " ]
94+ isort.known-first-party = [" ess.reflectometry " ]
8795pydocstyle.convention = " numpy"
8896
8997[tool .ruff .lint .per-file-ignores ]
@@ -114,3 +122,11 @@ enable_error_code = [
114122 " truthy-bool" ,
115123]
116124warn_unreachable = true
125+
126+ [tool .codespell ]
127+ ignore-words-list = [
128+ # Codespell wants "socioeconomic" which seems to be the standard spelling.
129+ # But we use the word in our code of conduct which is the contributor covenant.
130+ # Let's not modify it if we don't have to.
131+ " socio-economic" ,
132+ ]
0 commit comments