Skip to content

Fixes pytest -m arg handling in CI

07ae323
Select commit
Loading
Failed to load commit list.
Merged

Release: merge develop into master #109

Fixes pytest -m arg handling in CI
07ae323
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed Dec 15, 2025 in 3s

36 issues fixed. 85 issues found.

Annotations

Check notice on line 106 in src/easydiffraction/core/category.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/core/category.py#L106

Unresolved comment '# TODO: Disallow args and only allow kwargs?' (C100)

Check notice on line 124 in src/easydiffraction/experiments/experiments.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/experiments.py#L124

Unresolved comment '# TODO: Move to DatablockCollection?' (C100)

Check notice on line 47 in src/easydiffraction/summary/summary.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/summary/summary.py#L47

Unresolved comment '# TODO: Fix the following lines'. (C100)

Check notice on line 19 in src/easydiffraction/core/category.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/core/category.py#L19

Unresolved comment '# TODO: Set different default priorities for CategoryItem and'. (C100)

Check notice on line 99 in src/easydiffraction/analysis/calculators/crysfml.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/analysis/calculators/crysfml.py#L99

Unresolved comment '# TODO: Check the origin of this discrepancy coming from'. (C100)

Check notice on line 53 in src/easydiffraction/sample_models/categories/atom_sites.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/sample_models/categories/atom_sites.py#L53

Unresolved comment '# TODO: the following pattern is valid for dict key'. (C100)

Check notice on line 287 in src/easydiffraction/io/cif/serialize.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/io/cif/serialize.py#L287

Unresolved comment '# TODO: Rename to _item_cls?' (C100)

Check notice on line 362 in src/easydiffraction/experiments/categories/data/bragg_pd.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/categories/data/bragg_pd.py#L362

Unresolved comment '# TODO: ???' (C100)

Check notice on line 99 in src/easydiffraction/project/project_info.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/project/project_info.py#L99

Unresolved comment '# TODO: Consider moving to io.cif.serialize'. (C100)

Check notice on line 345 in src/easydiffraction/io/cif/serialize.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/io/cif/serialize.py#L345

Unresolved comment '# TODO: Make a helper function for this'. (C100)

Check notice on line 26 in src/easydiffraction/experiments/experiments.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/experiments.py#L26

Unresolved comment '# TODO: Move to DatablockCollection?' (C100)

Check notice on line 207 in src/easydiffraction/display/plotting.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/display/plotting.py#L207

Unresolved comment '# TODO: Before, it was self._plotter.plot. Check what is better.' (C100)

Check notice on line 162 in src/easydiffraction/summary/summary.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/summary/summary.py#L162

Unresolved comment '# TODO: Some headers capitalize, some don't -'. (C100)

Check notice on line 130 in src/easydiffraction/experiments/experiments.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/experiments.py#L130

Unresolved comment '# TODO: Move to DatablockCollection?' (C100)

Check notice on line 332 in src/easydiffraction/io/cif/serialize.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/io/cif/serialize.py#L332

Unresolved comment '# TODO: The following is duplication of'. (C100)

Check notice on line 22 in src/easydiffraction/sample_models/sample_models.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/sample_models/sample_models.py#L22

Unresolved comment '# TODO: Move to DatablockCollection?' (C100)

Check notice on line 416 in src/easydiffraction/analysis/calculators/cryspy.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/analysis/calculators/cryspy.py#L285-L416

Complex Method

Check notice on line 56 in src/easydiffraction/experiments/categories/background/chebyshev.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/categories/background/chebyshev.py#L56

Unresolved comment '# TODO: the following pattern is valid for dict key'. (C100)

Check notice on line 81 in src/easydiffraction/analysis/analysis.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/analysis/analysis.py#L81

Unresolved comment '# TODO: Merge into one. Add field if attr exists'. (C100)

Check notice on line 34 in src/easydiffraction/experiments/categories/excluded_regions.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/categories/excluded_regions.py#L34

Unresolved comment '# TODO: Add point_id as for the background'. (C100)

Check notice on line 571 in src/easydiffraction/analysis/analysis.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/analysis/analysis.py#L571

Unresolved comment '# TODO: Need self.categories as in the case of datablock.py'. (C100)

Check notice on line 84 in src/easydiffraction/experiments/experiment/factory.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/experiment/factory.py#L84

Unresolved comment '# TODO: make helper method to create experiment from type'. (C100)

Check notice on line 107 in src/easydiffraction/core/category.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/core/category.py#L107

Unresolved comment '# TODO: Check kwargs as for, e.g.,'. (C100)

Check notice on line 169 in tmp/generate_overview_mermaid.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

tmp/generate_overview_mermaid.py#L96-L169

Complex Method

Check notice on line 10 in src/easydiffraction/experiments/categories/background/enums.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

src/easydiffraction/experiments/categories/background/enums.py#L10

Unresolved comment '# TODO: Consider making EnumBase class with: default, description, ...' (C100)