Skip to content

Conversation

@tardis-bot
Copy link
Contributor

*beep* *bop*
Hi, human.
I prepared everything for a new TARDIS release.

⚠️ WARNING:

This pull request should be auto-merged. Do not merge manually if any check fails.

Instead, disable auto-merge and push your fixes to the pre-release-2025.09.21 branch on tardis-bot/tardis.

$ git remote add tardis-bot [email protected]:tardis-bot/tardis.git
$ git fetch tardis-bot
$ git checkout tardis-bot/pre-release-2025.09.21
$ git add <file_1> <file_2> ...
$ git commit -m "<your_commit_message>"
$ git push tardis-bot HEAD:pre-release-2025.09.21

Once all the checks pass, you can safely merge this pull request manually.

@epassaro epassaro enabled auto-merge (squash) September 21, 2025 01:19
@tardis-bot
Copy link
Contributor Author

tardis-bot commented Sep 21, 2025

*beep* *bop*

Hi, human.

The docs workflow has succeeded ✔️

Click here to see your results.

@tardis-bot
Copy link
Contributor Author

*beep* *bop*
Hi human,
I ran ruff on the latest commit (f2a78ef).
Here are the outputs produced.
Results can also be downloaded as artifacts here.
Summarised output:

Details
1	W292	[*] missing-newline-at-end-of-file
1	B018	[ ] useless-expression
Found 2 errors.
[*] 1 fixable with the `--fix` option.

Complete output(might be large):

Details
.ci-helpers/get_current_version.py:1:1: EXE001 Shebang is present but file is not executable
.ci-helpers/get_current_version.py:3:1: I001 [*] Import block is un-sorted or un-formatted
.ci-helpers/get_min_docstr_cov.py:1:1: EXE001 Shebang is present but file is not executable
.ci-helpers/get_min_docstr_cov.py:3:1: I001 [*] Import block is un-sorted or un-formatted
.ci-helpers/get_min_docstr_cov.py:5:1: F403 `from parse import *` used; unable to detect undefined names
.ci-helpers/get_min_docstr_cov.py:8:10: F405 `parse` may be undefined, or defined from star imports
.ci-helpers/get_next_version.py:1:1: EXE001 Shebang is present but file is not executable
.ci-helpers/get_next_version.py:3:1: I001 [*] Import block is un-sorted or un-formatted
.ci-helpers/update_credits.py:1:1: INP001 File `.ci-helpers/update_credits.py` is part of an implicit namespace package. Add an `__init__.py`.
.ci-helpers/update_credits.py:1:1: D209 [*] Multi-line docstring closing quotes should be on a separate line
.ci-helpers/update_credits.py:15:5: D202 [*] No blank lines allowed after function docstring (found 1)
.ci-helpers/update_credits.py:15:5: D209 [*] Multi-line docstring closing quotes should be on a separate line
.ci-helpers/update_credits.py:20:12: DTZ011 `datetime.date.today()` used
.ci-helpers/update_credits.py:24:20: S113 Probable use of `requests` call without timeout
.ci-helpers/update_credits.py:46:91: W291 Trailing whitespace
benchmarks/benchmark_base.py:1:1: I001 [*] Import block is un-sorted or un-formatted
benchmarks/benchmark_base.py:75:9: RET506 [*] Unnecessary `else` after `raise` statement
benchmarks/opacities_opacity.py:7:40: F401 [*] `tardis.opacities.opacities.compton_opacity_calculation` imported but unused
benchmarks/opacities_opacity_state.py:15:5: D204 [*] 1 blank line required after class docstring
benchmarks/opacities_opacity_state.py:20:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
benchmarks/run_tardis.py:5:1: I001 [*] Import block is un-sorted or un-formatted
benchmarks/spectrum_formal_integral.py:54:10: W292 [*] No newline at end of file
benchmarks/transport_geometry_calculate_distances.py:13:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
benchmarks/transport_montecarlo_estimators_radfield_estimator_calcs.py:20:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
benchmarks/transport_montecarlo_interaction.py:16:15: W291 [*] Trailing whitespace
benchmarks/transport_montecarlo_interaction.py:18:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
benchmarks/transport_montecarlo_main_loop.py:20:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
benchmarks/transport_montecarlo_packet_trackers.py:6:40: F401 [*] `asv_runner.benchmarks.mark.parameterize` imported but unused
benchmarks/transport_montecarlo_packet_trackers.py:19:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
benchmarks/transport_montecarlo_vpacket.py:54:5: B019 Use of `functools.lru_cache` or `functools.cache` on methods can lead to memory leaks
docs/analyzing_tardis/spectrum/spectrum-visualization-notebook.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/analyzing_tardis/visualization/how_to_generating_widgets.ipynb:cell 5:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/analyzing_tardis/visualization/how_to_generating_widgets.ipynb:cell 5:3:5: F401 [*] `tardis.visualization.shell_info_from_hdf` imported but unused
docs/analyzing_tardis/visualization/how_to_sdec_plot.ipynb:cell 2:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/analyzing_tardis/visualization/how_to_sdec_plot.ipynb:cell 29:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/analyzing_tardis/visualization/tutorial_convergence_plot.ipynb:cell 9:4:28: W291 [*] Trailing whitespace
docs/analyzing_tardis/visualization/tutorial_convergence_plot.ipynb:cell 12:29:1: W293 [*] Blank line contains whitespace
docs/analyzing_tardis/visualization/tutorial_convergence_plot.ipynb:cell 13:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/analyzing_tardis/visualization/tutorial_montecarlo_packet_visualization.ipynb:cell 5:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/conf.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary
docs/conf.py:27:1: I001 [*] Import block is un-sorted or un-formatted
docs/conf.py:30:8: F401 [*] `tardis` imported but unused
docs/conf.py:35:1: I001 [*] Import block is un-sorted or un-formatted
docs/conf.py:40:43: PGH004 Use specific rule codes when using `noqa`
docs/conf.py:50:27: UP015 [*] Unnecessary mode argument
docs/conf.py:71:1: F405 `exclude_patterns` may be undefined, or defined from star imports
docs/conf.py:72:1: F405 `exclude_patterns` may be undefined, or defined from star imports
docs/conf.py:73:1: F405 `exclude_patterns` may be undefined, or defined from star imports
docs/conf.py:74:1: F405 `exclude_patterns` may be undefined, or defined from star imports
docs/conf.py:75:1: F405 `exclude_patterns` may be undefined, or defined from star imports
docs/conf.py:143:1: W293 Blank line contains whitespace
docs/conf.py:178:1: W293 Blank line contains whitespace
docs/conf.py:195:13: UP030 Use implicit references for positional format fields
docs/conf.py:195:13: UP032 [*] Use f-string instead of `format` call
docs/conf.py:222:1: E402 Module level import not at top of file
docs/conf.py:294:4: E712 Avoid equality comparisons to `True`; use `toml_config_tool_dict["tardis"]['edit_on_github']:` for truth checks
docs/conf.py:316:1: E402 Module level import not at top of file
docs/conf.py:368:1: E402 Module level import not at top of file
docs/conf.py:383:37: UP015 [*] Unnecessary modes, use `w`
docs/conf.py:398:41: UP015 [*] Unnecessary modes, use `w`
docs/conf.py:413:37: UP015 [*] Unnecessary modes, use `w`
docs/contributing/in_progress/nebular_phase/gammaray_deposition.ipynb:cell 4:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/contributing/in_progress/nebular_phase/gammaray_deposition.ipynb:cell 4:14:15: W291 [*] Trailing whitespace
docs/contributing/in_progress/nebular_phase/gammaray_deposition.ipynb:cell 6:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/contributing/in_progress/nebular_phase/gammaray_deposition.ipynb:cell 17:7:65: W605 [*] Invalid escape sequence: `\g`
docs/contributing/in_progress/nebular_phase/gammaray_deposition.ipynb:cell 17:9:24: E703 [*] Statement ends with an unnecessary semicolon
docs/contributing/tools/hdf_writer.ipynb:cell 3:9:1: W293 Blank line contains whitespace
docs/contributing/tools/hdf_writer.ipynb:cell 8:3:11: SyntaxError: Simple statements must be separated by newlines or semicolons
docs/contributing/tools/hdf_writer.ipynb:cell 13:3:11: SyntaxError: Simple statements must be separated by newlines or semicolons
docs/contributing/tools/hdf_writer.ipynb:cell 18:4:11: SyntaxError: Simple statements must be separated by newlines or semicolons
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:7:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:14:14: UP008 Use `super()` instead of `super(__class__, self)`
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:16:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:23:28: C408 Unnecessary `dict()` call (rewrite as a literal)
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:25:30: F523 [*] `.format` call has unused arguments at position(s): 0, 1
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:25:30: UP032 [*] Use f-string instead of `format` call
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:25:44: F821 Undefined name `nucname`
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:32:30: C405 Unnecessary list literal (rewrite as a set literal)
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:54:16: F821 Undefined name `nucname`
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:54:41: F821 Undefined name `nucname`
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:58:9: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:69:23: C408 Unnecessary `dict()` call (rewrite as a literal)
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:71:30: UP030 Use implicit references for positional format fields
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:71:30: UP032 [*] Use f-string instead of `format` call
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:71:50: F821 Undefined name `nucname`
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:75:17: F821 Undefined name `material`
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:80:9: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:83:9: D412 [*] No blank lines allowed between a section header and its content ("Parameters")
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:89:9: D407 [*] Missing dashed underline after section ("Returns")
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:89:9: D406 [*] Section name should end with a newline ("Returns")
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:100:18: W291 [*] Trailing whitespace
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:103:9: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:104:59: W291 Trailing whitespace
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:106:9: D407 [*] Missing dashed underline after section ("Returns")
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:106:9: D406 [*] Section name should end with a newline ("Returns")
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:114:67: W291 Trailing whitespace
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:118:28: W291 Trailing whitespace
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:122:9: D407 [*] Missing dashed underline after section ("Returns")
docs/contributing/tools/isotope_pd_subclass.ipynb:cell 3:122:9: D406 [*] Section name should end with a newline ("Returns")
docs/contributing/tools/profiling/profiling_example.ipynb:cell 3:3:1: I001 [*] Import block is un-sorted or un-formatted
docs/contributing/tools/profiling/profiling_example.ipynb:cell 3:3:20: F401 [*] `tardis.run_tardis` imported but unused
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:1:8: F401 [*] `tardis` imported but unused
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:5:38: F401 [*] `tardis.io.atom_data.base.AtomData` imported but unused
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:7:20: F811 [*] Redefinition of unused `run_tardis` from cell 2, line 2
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:11:1: E402 Module level import not at top of cell
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:11:1: I001 [*] Import block is un-sorted or un-formatted
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:12:1: E402 Module level import not at top of cell
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:13:1: E402 Module level import not at top of cell
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:13:30: F401 [*] `astropy.units` imported but unused
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:14:1: E402 Module level import not at top of cell
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:15:1: E402 Module level import not at top of cell
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 2:16:1: E402 Module level import not at top of cell
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:2:5: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:8:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:12:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:17:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:22:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:24:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:26:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:32:21: W291 [*] Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:35:5: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:37:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:44:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:54:5: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:57:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:63:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:68:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 4:75:5: RET505 [*] Unnecessary `elif` after `return` statement
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:1:32: W291 [*] Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:2:35: W291 [*] Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:3:37: W291 [*] Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:4:41: W291 [*] Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:5:31: W291 [*] Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:6:31: W291 [*] Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:8:5: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:11:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:13:112: W291 Trailing whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:15:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:49:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:54:33: UP032 [*] Use f-string instead of `format` call
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:56:33: UP032 [*] Use f-string instead of `format` call
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 7:57:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 8:9:25: UP015 [*] Unnecessary mode argument
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 8:12:29: UP015 [*] Unnecessary mode argument
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 8:16:19: C416 Unnecessary list comprehension (rewrite using `list()`)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 8:17:23: C416 Unnecessary list comprehension (rewrite using `list()`)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 9:2:5: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 9:4:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 9:11:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 10:2:5: D202 [*] No blank lines allowed after function docstring (found 1)
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 10:4:1: W293 Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 10:18:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 10:30:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 10:44:1: W293 [*] Blank line contains whitespace
docs/contributing/tools/profiling/tardis_profiling_threads.ipynb:cell 10:45:43: UP032 [*] Use f-string instead of `format` call
docs/how-to/code_comparison/plasma_compare/plasma_compare.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/how-to/code_comparison/plasma_compare/plasma_compare.ipynb:cell 2:3:29: F401 [*] `IPython.display.FileLinks` imported but unused
docs/how-to/code_comparison/plasma_compare/plasma_compare.ipynb:cell 13:3:7: F821 Undefined name `figure`
docs/how-to/code_comparison/plasma_compare/plasma_compare.ipynb:cell 13:6:1: F821 Undefined name `xlabel`
docs/how-to/code_comparison/plasma_compare/plasma_compare.ipynb:cell 13:7:1: F821 Undefined name `ylabel`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 3:15:15: F821 Undefined name `df`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 3:19:19: F821 Undefined name `df`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 3:24:38: W605 [*] Invalid escape sequence: `\[`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 3:24:42: W605 [*] Invalid escape sequence: `\]`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 7:1:1: F821 Undefined name `blondin_dict`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 7:2:1: F821 Undefined name `blondin_dict`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 8:1:13: UP030 Use implicit references for positional format fields
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 8:1:13: UP032 [*] Use f-string instead of `format` call
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 8:1:51: F821 Undefined name `blondin_dict`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 8:1:92: F821 Undefined name `blondin_csv`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 14:3:1: F821 Undefined name `plot`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 14:5:1: F821 Undefined name `plot`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 14:5:101: W291 [*] Trailing whitespace
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 14:6:1: F821 Undefined name `legend`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 14:7:1: F821 Undefined name `xlim`
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 18:1:13: UP030 Use implicit references for positional format fields
docs/how-to/code_comparison/toy_models/reading blondin toymodel.ipynb:cell 18:1:13: UP032 [*] Use f-string instead of `format` call
docs/io/configuration/components/models/Custom_TARDIS_Model_Tutorial.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/configuration/components/models/Custom_TARDIS_Model_Tutorial.ipynb:cell 2:2:29: F401 [*] `matplotlib.pyplot` imported but unused
docs/io/configuration/components/models/Custom_TARDIS_Model_Tutorial.ipynb:cell 2:3:17: F401 [*] `numpy` imported but unused
docs/io/configuration/components/models/converters/arepo_to_tardis.ipynb:cell 6:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/configuration/components/models/converters/arepo_to_tardis.ipynb:cell 6:1:17: F401 [*] `numpy` imported but unused
docs/io/configuration/components/models/converters/arepo_to_tardis.ipynb:cell 6:4:8: F401 [*] `json` imported but unused
docs/io/grid/how_to_TardisGridTutorial.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/grid/how_to_TardisGridTutorial.ipynb:cell 7:2:74: W291 [*] Trailing whitespace
docs/io/grid/how_to_TardisGridTutorial.ipynb:cell 14:1:47: W291 [*] Trailing whitespace
docs/io/grid/how_to_TardisGridTutorial.ipynb:cell 14:4:46: E703 [*] Statement ends with an unnecessary semicolon
docs/io/grid/how_to_TardisGridTutorial.ipynb:cell 15:2:55: W291 [*] Trailing whitespace
docs/io/optional/how_to_custom_source.ipynb:cell 3:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/optional/tutorial_callback_example.ipynb:cell 5:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/optional/tutorial_callback_example.ipynb:cell 5:5:1: E402 Module level import not at top of cell
docs/io/optional/tutorial_callback_example.ipynb:cell 5:6:1: E402 Module level import not at top of cell
docs/io/optional/tutorial_callback_example.ipynb:cell 5:12:39: W291 [*] Trailing whitespace
docs/io/optional/tutorial_callback_example.ipynb:cell 9:5:29: W291 [*] Trailing whitespace
docs/io/optional/tutorial_callback_example.ipynb:cell 9:9:39: W291 [*] Trailing whitespace
docs/io/optional/tutorial_callback_example.ipynb:cell 14:6:65: W291 [*] Trailing whitespace
docs/io/optional/tutorial_callback_example.ipynb:cell 14:10:39: W291 [*] Trailing whitespace
docs/io/optional/tutorial_logging_configuration.ipynb:cell 31:1:21: W291 [*] Trailing whitespace
docs/io/output/how_to_physical_quantities.ipynb:cell 4:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/output/how_to_plasma_graph.ipynb:cell 3:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/output/how_to_plasma_graph.ipynb:cell 19:1:39: UP015 [*] Unnecessary mode argument
docs/io/output/how_to_rpacket_tracking.ipynb:cell 12:1:62: W291 [*] Trailing whitespace
docs/io/output/how_to_to_hdf.ipynb:cell 5:1:19: S108 Probable insecure usage of temporary file or directory: "/tmp/full_example.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 7:3:20: S108 Probable insecure usage of temporary file or directory: "/tmp/full_example.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 14:1:26: S108 Probable insecure usage of temporary file or directory: "/tmp/plasma_output.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 15:1:8: ICN001 `pandas` should be imported as `pd`
docs/io/output/how_to_to_hdf.ipynb:cell 15:3:31: S108 Probable insecure usage of temporary file or directory: "/tmp/plasma_output.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 17:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/io/output/how_to_to_hdf.ipynb:cell 17:2:26: S108 Probable insecure usage of temporary file or directory: "/tmp/plasma_input_output.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 18:1:8: ICN001 `pandas` should be imported as `pd`
docs/io/output/how_to_to_hdf.ipynb:cell 18:3:37: S108 Probable insecure usage of temporary file or directory: "/tmp/plasma_input_output.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 20:1:36: S108 Probable insecure usage of temporary file or directory: "/tmp/model_output.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 21:1:8: ICN001 `pandas` should be imported as `pd`
docs/io/output/how_to_to_hdf.ipynb:cell 21:3:30: S108 Probable insecure usage of temporary file or directory: "/tmp/model_output.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 23:1:29: S108 Probable insecure usage of temporary file or directory: "/tmp/transport_output.hdf"
docs/io/output/how_to_to_hdf.ipynb:cell 24:1:8: ICN001 `pandas` should be imported as `pd`
docs/io/output/how_to_to_hdf.ipynb:cell 24:3:34: S108 Probable insecure usage of temporary file or directory: "/tmp/transport_output.hdf"
docs/multiindex_isotope_decay_data.ipynb:cell 1:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/multiindex_isotope_decay_data.ipynb:cell 1:2:21: F401 [*] `pathlib.Path` imported but unused
docs/multiindex_isotope_decay_data.ipynb:cell 7:5:70: W291 [*] Trailing whitespace
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 4:5:91: W291 [*] Trailing whitespace
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 4:13:102: W291 [*] Trailing whitespace
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 11:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 14:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 14:11:21: UP008 Use `super()` instead of `super(__class__, self)`
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 46:4:188: W291 [*] Trailing whitespace
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 51:2:19: W291 [*] Trailing whitespace
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 51:3:36: W291 [*] Trailing whitespace
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 54:2:5: D204 [*] 1 blank line required after class docstring
docs/physics/plasma/equilibrium/ionization_solution_comparison.ipynb:cell 56:1:170: W291 [*] Trailing whitespace
docs/physics/plasma/equilibrium/ionization_solutions.ipynb:cell 3:6:34: UP034 [*] Avoid extraneous parentheses
docs/physics_walkthrough/montecarlo/initialization.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/nlte/nlte_rates.ipynb:cell 1:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/nlte/nlte_rates.ipynb:cell 1:1:32: F401 [*] `tardis.plasma.nlte.nlte_data` imported but unused
docs/physics_walkthrough/nlte/nlte_rates.ipynb:cell 1:5:19: F401 [*] `scipy.sparse` imported but unused
docs/physics_walkthrough/plasma/construction_simple_plasma.ipynb:cell 8:1:1: F821 Undefined name `plasma_solver`
docs/physics_walkthrough/plasma/equilibrium/comparison.ipynb:cell 31:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/pyplot/lte_ionization_balance.py:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/pyplot/lte_ionization_balance.py:1:21: F401 [*] `pathlib.Path` imported but unused
docs/physics_walkthrough/pyplot/lte_ionization_balance.py:22:31: F821 Undefined name `atom_fname`
docs/physics_walkthrough/pyplot/lte_ionization_balance.py:73:9: UP031 Use format specifiers instead of percent format
docs/physics_walkthrough/pyplot/lte_ionization_balance.py:74:15: UP031 Use format specifiers instead of percent format
docs/physics_walkthrough/pyplot/nebular_ionization_balance.py:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/pyplot/nebular_ionization_balance.py:33:18: F821 Undefined name `plasma`
docs/physics_walkthrough/pyplot/nebular_ionization_balance.py:71:9: UP031 Use format specifiers instead of percent format
docs/physics_walkthrough/pyplot/nebular_ionization_balance.py:72:15: UP031 Use format specifiers instead of percent format
docs/physics_walkthrough/pyplot/nebular_ionization_balance.py:117:9: UP031 Use format specifiers instead of percent format
docs/physics_walkthrough/pyplot/nebular_ionization_balance.py:118:15: UP031 Use format specifiers instead of percent format
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:1:1: F403 `from pylab import *` used; unable to detect undefined names
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:5:1: PLW0127 Self-assignment of variable `x`
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:5:4: PLW0127 Self-assignment of variable `y`
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:5:8: PLW0128 Redeclared variable `x` in assignment
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:5:11: PLW0128 Redeclared variable `y` in assignment
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:5:15: F405 `mgrid` may be undefined, or defined from star imports
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:10:1: F405 `xlabel` may be undefined, or defined from star imports
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:11:1: F405 `ylabel` may be undefined, or defined from star imports
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:12:1: F405 `imshow` may be undefined, or defined from star imports
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:12:8: F405 `np` may be undefined, or defined from star imports
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:13:1: F405 `colorbar` may be undefined, or defined from star imports
docs/physics_walkthrough/pyplot/plot_mu_in_out_packet.py:14:1: F405 `show` may be undefined, or defined from star imports
docs/physics_walkthrough/setup/model.ipynb:cell 2:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/setup/model.ipynb:cell 25:19:12: F541 [*] f-string without any placeholders
docs/physics_walkthrough/setup/setup_example.ipynb:cell 2:2:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/spectrum/basic.ipynb:cell 3:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/tardisgamma/decayenergy.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/tardisgamma/decayenergy.ipynb:cell 2:13:47: F401 [*] `tardis.energy_input.energy_source.get_nuclear_lines_database` imported but unused
docs/physics_walkthrough/tardisgamma/decayenergy.ipynb:cell 2:15:62: F401 [*] `tardis.energy_input.tests.test_gamma_ray_channel.test_total_energy_production` imported but unused
docs/physics_walkthrough/tardisgamma/opacities.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/tardisgamma/opacities.ipynb:cell 7:5:31: W291 [*] Trailing whitespace
docs/physics_walkthrough/update_and_conv/update_and_conv.ipynb:cell 7:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/physics_walkthrough/update_and_conv/update_and_conv.ipynb:cell 18:1:69: W291 [*] Trailing whitespace
docs/physics_walkthrough/update_and_conv/update_and_conv.ipynb:cell 26:1:50: W291 [*] Trailing whitespace
docs/physics_walkthrough/update_and_conv/update_and_conv.ipynb:cell 31:11:1: E402 Module level import not at top of cell
docs/physics_walkthrough/update_and_conv/update_and_conv.ipynb:cell 31:11:1: I001 [*] Import block is un-sorted or un-formatted
docs/quickstart.ipynb:cell 12:1:39: W291 [*] Trailing whitespace
docs/quickstart.ipynb:cell 12:5:35: W291 [*] Trailing whitespace
docs/reference/liv_plot_notebook.ipynb:cell 27:6:55: W291 [*] Trailing whitespace
docs/resources/research_done_using_TARDIS/ads.ipynb:cell 1:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/resources/research_done_using_TARDIS/ads.ipynb:cell 2:2:39: W291 [*] Trailing whitespace
docs/resources/research_done_using_TARDIS/ads.ipynb:cell 2:12:11: S113 Probable use of `requests` call without timeout
docs/resources/research_done_using_TARDIS/ads.ipynb:cell 2:12:60: W291 [*] Trailing whitespace
docs/resources/research_done_using_TARDIS/ads.ipynb:cell 2:28:23: S113 Probable use of `requests` call without timeout
docs/resources/research_done_using_TARDIS/ads.ipynb:cell 2:28:76: W291 [*] Trailing whitespace
docs/resources/research_done_using_TARDIS/ads.ipynb:cell 4:7:16: Q003 [*] Change outer quotes to avoid escaping inner quotes
docs/tutorials/high_energy/run_high_energy_workflow.ipynb:cell 1:5:21: PLC0414 Import alias does not rename original package
docs/tutorials/high_energy/run_high_energy_workflow.ipynb:cell 11:4:41: F821 Undefined name `const`
docs/tutorials/high_energy/run_high_energy_workflow.ipynb:cell 11:10:47: F821 Undefined name `const`
docs/tutorials/run_montecarlo_transport.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/tutorials/run_montecarlo_transport.ipynb:cell 2:1:8: F401 [*] `os` imported but unused
docs/tutorials/run_montecarlo_transport.ipynb:cell 10:10:69: W291 [*] Trailing whitespace
docs/tutorials/run_montecarlo_transport.ipynb:cell 13:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/tutorials/run_montecarlo_transport.ipynb:cell 13:1:17: F811 [*] Redefinition of unused `np` from cell 2, line 5
docs/tutorials/run_montecarlo_transport.ipynb:cell 13:1:17: F401 [*] `numpy` imported but unused
docs/tutorials/run_montecarlo_transport.ipynb:cell 13:7:68: F401 [*] `tardis.transport.montecarlo.packets.packet_collections.PacketCollection` imported but unused
docs/tutorials/run_montecarlo_transport.ipynb:cell 16:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/workflows/simple_workflow.ipynb:cell 4:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/workflows/simple_workflow_equilibrium.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/workflows/simple_workflow_equilibrium.ipynb:cell 2:2:8: F401 [*] `tardis` imported but unused
docs/workflows/standard_workflow.ipynb:cell 4:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/workflows/v_inner_solver_workflow.ipynb:cell 4:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/workflows/v_inner_solver_workflow.ipynb:cell 5:1:1: I001 [*] Import block is un-sorted or un-formatted
docs/workflows/v_inner_solver_workflow.ipynb:cell 8:8:64: W291 [*] Trailing whitespace
docs/workflows/v_inner_solver_workflow.ipynb:cell 14:14:45: W291 [*] Trailing whitespace
docs/workflows/v_inner_solver_workflow.ipynb:cell 14:21:28: W291 [*] Trailing whitespace
docs/workflows/workflow_notebook.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/__init__.py:2:1: I001 [*] Import block is un-sorted or un-formatted
tardis/__init__.py:12:11: RUF022 [*] `__all__` is not sorted
tardis/__init__.py:29:1: E402 Module level import not at top of file
tardis/analysis.py:97:9: E722 Do not use bare `except`
tardis/analysis.py:111:9: E722 Do not use bare `except`
tardis/analysis.py:122:9: E722 Do not use bare `except`
tardis/analysis.py:137:9: E722 Do not use bare `except`
tardis/analysis.py:375:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/analysis.py:397:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/analysis.py:422:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/analysis/opacities.py:1:1: INP001 File `tardis/analysis/opacities.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/base.py:106:13: PLW0127 Self-assignment of variable `atom_data`
tardis/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/conftest.py:12:1: F403 `from tardis.tests.fixtures.atom_data import *` used; unable to detect undefined names
tardis/conftest.py:17:36: F401 [*] `tardis.tests.test_util.monkeysession` imported but unused
tardis/conftest.py:20:12: F401 `tardisbase` imported but unused; consider using `importlib.util.find_spec` to test for availability
tardis/conftest.py:41:49: PGH004 Use specific rule codes when using `noqa`
tardis/conftest.py:43:9: F821 Undefined name `pytest_report_header`
tardis/constants.py:1:1: F403 `from astropy.constants.astropyconst13 import *` used; unable to detect undefined names
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 1:2:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 1:3:18: F401 [*] `pandas` imported but unused
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 1:6:29: F401 [*] `astropy.constants` imported but unused
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 1:7:25: F401 [*] `astropy.units` imported but unused
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 2:2:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 7:5:70: W291 [*] Trailing whitespace
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 9:3:96: W291 [*] Trailing whitespace
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 9:4:99: W291 [*] Trailing whitespace
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 9:6:78: W291 [*] Trailing whitespace
tardis/energy_input/docs/working_gamma_ray_test.ipynb:cell 10:2:65: W605 [*] Invalid escape sequence: `\g`
tardis/energy_input/energy_source.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/energy_source.py:113:16: C416 Unnecessary list comprehension (rewrite using `list()`)
tardis/energy_input/energy_source.py:256:5: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/energy_input/gamma_ray_estimators.py:47:18: F821 Undefined name `GET_NEAREST_LINE_REDWARD_FUNCTION`
tardis/energy_input/gamma_ray_transport.py:3:25: F401 [*] `astropy.units` imported but unused
tardis/energy_input/gamma_ray_transport.py:5:18: F401 [*] `pandas` imported but unused
tardis/energy_input/gamma_ray_transport.py:6:28: F401 [*] `radioactivedecay` imported but unused
tardis/energy_input/gamma_ray_transport.py:12:40: F401 [*] `tardis.opacities.opacities.M_P` imported but unused
tardis/energy_input/gamma_ray_transport.py:82:9: PERF403 Use a dictionary comprehension instead of a for-loop
tardis/energy_input/main_gamma_ray_loop.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/main_gamma_ray_loop.py:31:23: UP007 [*] Use `X | Y` for type annotations
tardis/energy_input/samplers.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/samplers.py:155:49: NPY201 `np.trapz` will be removed in NumPy 2.0. Use `numpy.trapezoid` on NumPy 2.0, or ignore this warning on earlier versions.
tardis/energy_input/tests/test_energy_source.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/tests/test_energy_source.py:36:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/tests/test_energy_source.py:36:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/tests/test_energy_source.py:42:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/tests/test_energy_source.py:42:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/tests/test_energy_source.py:48:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/tests/test_energy_source.py:48:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/tests/test_gamma_ray_channel.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/tests/test_gamma_ray_channel.py:117:9: B020 Loop control variable `isotope_dict` overrides iterable it iterates
tardis/energy_input/tests/test_gamma_ray_packet_source_minimal.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/energy_input/tests/test_gamma_ray_packet_source_minimal.py:5:17: F401 [*] `numpy` imported but unused
tardis/energy_input/tests/test_gamma_ray_transport.py:4:17: F401 [*] `numpy` imported but unused
tardis/energy_input/tests/test_gamma_ray_transport.py:5:25: F401 [*] `numpy.testing` imported but unused
tardis/energy_input/tests/test_gamma_ray_transport.py:7:28: F401 [*] `radioactivedecay` imported but unused
tardis/energy_input/tests/test_gamma_ray_transport.py:8:30: F401 [*] `radioactivedecay.converters` imported but unused
tardis/energy_input/tests/test_gamma_ray_transport.py:11:5: F401 [*] `tardis.energy_input.gamma_ray_channel.calculate_total_decays` imported but unused
tardis/energy_input/tests/test_gamma_ray_transport.py:12:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_inventories_dict` imported but unused
tardis/energy_input/tests/test_gamma_ray_transport.py:13:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_isotope_dicts` imported but unused
tardis/energy_input/tests/test_util.py:38:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/tests/test_util.py:38:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/tests/test_util.py:44:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/tests/test_util.py:44:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/tests/test_util.py:50:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/tests/test_util.py:50:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/tests/test_util.py:56:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/tests/test_util.py:56:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/transport/GXPacket.py:1:1: N999 Invalid module name: 'GXPacket'
tardis/energy_input/transport/GXPacket.py:7:42: F401 [*] `tardis.energy_input.samplers.sample_decay_time` imported but unused
tardis/energy_input/transport/GXPacket.py:7:61: F401 [*] `tardis.energy_input.samplers.sample_energy` imported but unused
tardis/energy_input/transport/GXPacket.py:9:5: F401 [*] `tardis.energy_input.util.H_CGS_KEV` imported but unused
tardis/energy_input/transport/GXPacket.py:10:5: F401 [*] `tardis.energy_input.util.doppler_factor_3d` imported but unused
tardis/energy_input/transport/GXPacket.py:11:5: F401 [*] `tardis.energy_input.util.get_index` imported but unused
tardis/energy_input/transport/GXPacket.py:12:5: F401 [*] `tardis.energy_input.util.get_random_unit_vector` imported but unused
tardis/energy_input/transport/tests/conftest.py:16:12: S604 Function call with truthy `shell` parameter identified, security issue
tardis/energy_input/transport/tests/test_gamma_ray_grid.py:12:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/transport/tests/test_gamma_ray_grid.py:12:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/transport/tests/test_gamma_ray_grid.py:18:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/transport/tests/test_gamma_ray_grid.py:18:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/transport/tests/test_gamma_ray_interactions.py:16:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/transport/tests/test_gamma_ray_interactions.py:16:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/transport/tests/test_gamma_ray_interactions.py:22:5: PT015 Assertion always fails, replace with `pytest.fail()`
tardis/energy_input/transport/tests/test_gamma_ray_interactions.py:22:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()`
tardis/energy_input/util.py:444:5: RET505 [*] Unnecessary `elif` after `return` statement
tardis/energy_input/util.py:455:5: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/energy_input/util.py:457:5: D411 [*] Missing blank line before section ("Parameters")
tardis/grid/__init__.py:7:1: F403 `from tardis.grid.base import *` used; unable to detect undefined names
tardis/grid/base.py:30:9: PLR1704 Redefining argument with the local name `key`
tardis/grid/tests/test_grid.py:1:1: INP001 File `tardis/grid/tests/test_grid.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/grid/tests/test_grid.py:29:5: PLC0206 Extracting value from dictionary without calling `.items()`
tardis/gui/__init__.py:4:57: W291 Trailing whitespace
tardis/gui/__init__.py:5:60: W291 Trailing whitespace
tardis/gui/__init__.py:6:56: W291 Trailing whitespace
tardis/gui/datahandler.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/datahandler.py:4:17: F401 [*] `numpy` imported but unused
tardis/gui/datahandler.py:5:8: ICN001 `matplotlib` should be imported as `mpl`
tardis/gui/datahandler.py:6:28: F401 [*] `matplotlib.pylab` imported but unused
tardis/gui/datahandler.py:10:5: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/datahandler.py:12:5: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/datahandler.py:19:1: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/datahandler.py:19:8: F401 [*] `yaml` imported but unused
tardis/gui/datahandler.py:21:20: F401 [*] `tardis.run_tardis` imported but unused
tardis/gui/datahandler.py:22:32: F401 [*] `tardis.gui.widgets.MatplotlibWidget` imported but unused
tardis/gui/datahandler.py:22:50: F401 [*] `tardis.gui.widgets.ModelViewer` imported but unused
tardis/gui/datahandler.py:22:63: F401 [*] `tardis.gui.widgets.ShellInfo` imported but unused
tardis/gui/datahandler.py:23:32: F401 [*] `tardis.gui.widgets.LineInfo` imported but unused
tardis/gui/datahandler.py:23:42: F401 [*] `tardis.gui.widgets.LineInteractionTables` imported but unused
tardis/gui/datahandler.py:37:12: UP004 [*] Class `Node` inherits from `object`
tardis/gui/datahandler.py:113:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/gui/datahandler.py:145:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/gui/datahandler.py:199:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/gui/datahandler.py:203:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
tardis/gui/datahandler.py:271:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/gui/datahandler.py:412:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/gui/datahandler.py:436:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/gui/datahandler.py:503:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/datahandler.py:518:9: PLR0911 Too many return statements (8 > 6)
tardis/gui/datahandler.py:523:13: RET505 [*] Unnecessary `elif` after `return` statement
tardis/gui/datahandler.py:526:17: RET505 [*] Unnecessary `else` after `return` statement
tardis/gui/datahandler.py:536:13: RET505 [*] Unnecessary `elif` after `return` statement
tardis/gui/datahandler.py:547:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/gui/datahandler.py:552:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
tardis/gui/datahandler.py:556:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/gui/interface.py:6:25: F401 [*] `PySide2.QtCore` imported but unused
tardis/gui/interface.py:16:5: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/interface.py:23:1: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/widgets.py:7:5: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/widgets.py:9:5: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/widgets.py:17:1: I001 [*] Import block is un-sorted or un-formatted
tardis/gui/widgets.py:17:8: ICN001 `matplotlib` should be imported as `mpl`
tardis/gui/widgets.py:18:1: F403 `from matplotlib.figure import *` used; unable to detect undefined names
tardis/gui/widgets.py:25:32: F401 [*] `matplotlib.patches.Circle` imported but unused
tardis/gui/widgets.py:30:30: F401 [*] `tardis.util` imported but unused
tardis/gui/widgets.py:37:9: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/gui/widgets.py:44:23: F405 `Figure` may be undefined, or defined from star imports
tardis/gui/widgets.py:55:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:56:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:59:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:165:27: C408 Unnecessary `dict()` call (rewrite as a literal)
tardis/gui/widgets.py:168:26: C408 Unnecessary `dict()` call (rewrite as a literal)
tardis/gui/widgets.py:169:23: C408 Unnecessary `dict()` call (rewrite as a literal)
tardis/gui/widgets.py:187:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/gui/widgets.py:199:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:227:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:230:22: F405 `yaml` may be undefined, or defined from star imports
tardis/gui/widgets.py:230:61: F405 `yaml` may be undefined, or defined from star imports
tardis/gui/widgets.py:354:24: F405 `TreeModel` may be undefined, or defined from star imports
tardis/gui/widgets.py:359:38: F405 `TreeDelegate` may be undefined, or defined from star imports
tardis/gui/widgets.py:430:35: UP024 [*] Replace aliased errors with `OSError`
tardis/gui/widgets.py:445:9: PIE790 [*] Unnecessary `pass` statement
tardis/gui/widgets.py:529:9: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/gui/widgets.py:647:41: F405 `np` may be undefined, or defined from star imports
tardis/gui/widgets.py:656:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
tardis/gui/widgets.py:659:41: F405 `np` may be undefined, or defined from star imports
tardis/gui/widgets.py:687:41: F405 `np` may be undefined, or defined from star imports
tardis/gui/widgets.py:814:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:850:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
tardis/gui/widgets.py:926:9: D209 [*] Multi-line docstring closing quotes should be on a separate line
tardis/gui/widgets.py:928:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:1123:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/gui/widgets.py:1230:9: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/io/atom_data/__init__.py:5:51: F401 `tardis.io.atom_data.atom_web_download.download_atom_data` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/io/atom_data/__init__.py:6:38: F401 `tardis.io.atom_data.base.AtomData` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/io/atom_data/atom_web_download.py:51:13: G004 Logging statement uses f-string
tardis/io/atom_data/atom_web_download.py:58:17: G004 Logging statement uses f-string
tardis/io/atom_data/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/atom_data/base.py:198:34: G004 Logging statement uses f-string
tardis/io/atom_data/base.py:260:17: G004 Logging statement uses f-string
tardis/io/atom_data/base.py:264:21: G001 Logging statement uses `str.format`
tardis/io/atom_data/base.py:708:17: G004 Logging statement uses f-string
tardis/io/atom_data/util.py:34:13: G004 Logging statement uses f-string
tardis/io/configuration/config_internal.py:8:20: N812 Lowercase `__path__` imported as non-lowercase `TARDIS_PATH`
tardis/io/configuration/config_internal.py:24:13: G004 Logging statement uses f-string
tardis/io/configuration/config_internal.py:36:9: LOG015 `critical()` call on root logger
tardis/io/configuration/config_internal.py:37:13: G004 Logging statement uses f-string
tardis/io/configuration/config_reader.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/configuration/config_reader.py:54:29: G004 Logging statement uses f-string
tardis/io/configuration/config_reader.py:118:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/io/configuration/config_reader.py:142:13: RET505 [*] Unnecessary `else` after `return` statement
tardis/io/configuration/config_reader.py:219:29: G004 Logging statement uses f-string
tardis/io/configuration/tests/test_config_reader.py:1:1: INP001 File `tardis/io/configuration/tests/test_config_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/configuration/tests/test_config_validator.py:1:1: INP001 File `tardis/io/configuration/tests/test_config_validator.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/configuration/tests/test_configuration_namespace.py:1:1: INP001 File `tardis/io/configuration/tests/test_configuration_namespace.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/hdf_writer_mixin.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/hdf_writer_mixin.py:5:1: UP035 `typing.Dict` is deprecated, use `dict` instead
tardis/io/hdf_writer_mixin.py:5:1: UP035 `typing.List` is deprecated, use `list` instead
tardis/io/hdf_writer_mixin.py:5:20: TC003 Move standard library import `typing.Any` into a type-checking block
tardis/io/hdf_writer_mixin.py:5:25: TC003 Move standard library import `typing.Union` into a type-checking block
tardis/io/hdf_writer_mixin.py:5:32: TC003 Move standard library import `typing.Optional` into a type-checking block
tardis/io/hdf_writer_mixin.py:5:42: TC003 Move standard library import `typing.Dict` into a type-checking block
tardis/io/hdf_writer_mixin.py:5:48: TC003 Move standard library import `typing.List` into a type-checking block
tardis/io/hdf_writer_mixin.py:19:9: ANN204 Missing return type annotation for special method `__new__`
tardis/io/hdf_writer_mixin.py:42:22: UP007 [*] Use `X | Y` for type annotations
tardis/io/hdf_writer_mixin.py:44:19: UP006 [*] Use `dict` instead of `Dict` for type annotation
tardis/io/hdf_writer_mixin.py:162:33: UP006 [*] Use `dict` instead of `Dict` for type annotation
tardis/io/hdf_writer_mixin.py:175:38: UP006 [*] Use `list` instead of `List` for type annotation
tardis/io/hdf_writer_mixin.py:209:27: UP007 [*] Use `X | Y` for type annotations
tardis/io/hdf_writer_mixin.py:211:15: UP007 [*] Use `X | Y` for type annotations
tardis/io/hdf_writer_mixin.py:213:17: UP007 [*] Use `X | Y` for type annotations
tardis/io/hdf_writer_mixin.py:252:33: UP006 [*] Use `dict` instead of `Dict` for type annotation
tardis/io/hdf_writer_mixin.py:283:27: UP007 [*] Use `X | Y` for type annotations
tardis/io/hdf_writer_mixin.py:285:15: UP007 [*] Use `X | Y` for type annotations
tardis/io/hdf_writer_mixin.py:288:17: UP007 [*] Use `X | Y` for type annotations
tardis/io/logger/__init__.py:3:4: W292 [*] No newline at end of file
tardis/io/logger/colored_logger.py:83:9: PLR1711 [*] Useless `return` statement at end of function
tardis/io/logger/colored_logger.py:83:15: W292 [*] No newline at end of file
tardis/io/logger/logger.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/logger/logger.py:4:17: F401 [*] `panel` imported but unused
tardis/io/logger/logger.py:6:18: F401 [*] `pandas` imported but unused
tardis/io/logger/logger.py:19:5: D204 [*] 1 blank line required after class docstring
tardis/io/logger/logger.py:20:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:56:5: D204 [*] 1 blank line required after class docstring
tardis/io/logger/logger.py:57:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:75:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:84:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:99:21: G004 Logging statement uses f-string
tardis/io/logger/logger.py:161:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:173:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger.py:178:85: W291 [*] Trailing whitespace
tardis/io/logger/logger.py:182:80: W291 [*] Trailing whitespace
tardis/io/logger/logger.py:185:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger.py:192:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger.py:198:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger.py:203:5: D204 [*] 1 blank line required after class docstring
tardis/io/logger/logger.py:204:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:215:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:220:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:230:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:247:1: W293 Blank line contains whitespace
tardis/io/logger/logger.py:257:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger.py:265:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger.py:280:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger.py:283:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/io/logger/logger_widget.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/logger/logger_widget.py:13:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:21:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:41:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:46:5: D204 [*] 1 blank line required after class docstring
tardis/io/logger/logger_widget.py:47:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:66:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:69:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:77:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:101:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:106:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:117:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:124:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:139:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:149:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:152:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:157:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:159:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:164:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:168:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:171:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:178:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:180:115: W291 [*] Trailing whitespace
tardis/io/logger/logger_widget.py:183:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:186:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:189:1: W293 Blank line contains whitespace
tardis/io/logger/logger_widget.py:202:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:208:1: W293 [*] Blank line contains whitespace
tardis/io/logger/logger_widget.py:216:1: W293 [*] Blank line contains whitespace
tardis/io/logger/montecarlo_tracking.py:62:30: G004 Logging statement uses f-string
tardis/io/logger/montecarlo_tracking.py:63:30: G004 Logging statement uses f-string
tardis/io/model/__init__.py:2:44: F401 `tardis.io.model.readers.cmfgen.read_cmfgen_model` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/io/model/__init__.py:3:44: F401 `tardis.io.model.readers.stella.read_stella_model` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/io/model/parse_atom_data.py:40:21: G004 Logging statement uses f-string
tardis/io/model/parse_density_configuration.py:2:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
tardis/io/model/parse_density_configuration.py:20:6: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/io/model/parse_mass_fraction_configuration.py:4:25: F401 [*] `astropy.units` imported but unused
tardis/io/model/parse_packet_source_configuration.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/model/parse_radiation_field_configuration.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/model/readers/arepo.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/model/readers/artis.py:91:15: C420 [*] Unnecessary dict comprehension for iterable; use `dict.fromkeys` instead
tardis/io/model/readers/artis.py:121:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/io/model/readers/generic_readers.py:1:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
tardis/io/model/readers/generic_readers.py:20:6: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/io/model/readers/generic_readers.py:51:72: W291 [*] Trailing whitespace
tardis/io/model/readers/snec/__init__.py:1:53: F401 `tardis.io.model.readers.snec.snec_input.read_snec_isotope_profile` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/io/model/readers/snec/__init__.py:2:54: F401 `tardis.io.model.readers.snec.snec_output.read_snec_output` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/io/model/readers/snec/snec_output.py:9:18: TC002 Move third-party import `xarray` into a type-checking block
tardis/io/model/readers/snec/tests/test_input_profiles.py:1:1: INP001 File `tardis/io/model/readers/snec/tests/test_input_profiles.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/snec/tests/test_read_snec_output.py:1:1: INP001 File `tardis/io/model/readers/snec/tests/test_read_snec_output.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/snec/tests/test_xg_files.py:1:1: INP001 File `tardis/io/model/readers/snec/tests/test_xg_files.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/snec/tests/test_xg_files.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/model/readers/snec/tests/test_xg_files.py:4:21: F401 [*] `pathlib.Path` imported but unused
tardis/io/model/readers/snec/tests/test_xg_files.py:20:1: W293 [*] Blank line contains whitespace
tardis/io/model/readers/stella.py:52:17: RET508 [*] Unnecessary `else` after `break` statement
tardis/io/model/readers/tests/test_arepo_parser.py:1:1: INP001 File `tardis/io/model/readers/tests/test_arepo_parser.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/tests/test_artis_readers.py:1:1: INP001 File `tardis/io/model/readers/tests/test_artis_readers.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/tests/test_artis_readers.py:43:5: PT009 Use a regular `assert` instead of unittest-style `assert_`
tardis/io/model/readers/tests/test_artis_readers.py:61:5: F631 Assert test is a non-empty tuple, which is always `True`
tardis/io/model/readers/tests/test_ascii_readers.py:1:1: INP001 File `tardis/io/model/readers/tests/test_ascii_readers.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/tests/test_cmfgen_reader.py:1:1: INP001 File `tardis/io/model/readers/tests/test_cmfgen_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/tests/test_cmfgen_reader.py:4:1: PT013 Incorrect import of `pytest`; use `import pytest` instead
tardis/io/model/readers/tests/test_csvy_reader.py:1:1: INP001 File `tardis/io/model/readers/tests/test_csvy_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/tests/test_csvy_reader.py:47:10: B017 Do not assert blind exception: `Exception`
tardis/io/model/readers/tests/test_stella_reader.py:1:1: INP001 File `tardis/io/model/readers/tests/test_stella_reader.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/io/model/readers/tests/test_stella_reader.py:5:1: PT013 Incorrect import of `pytest`; use `import pytest` instead
tardis/io/tests/test_HDFWriter.py:1:1: N999 Invalid module name: 'test_HDFWriter'
tardis/io/tests/test_HDFWriter.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/io/tests/test_HDFWriter.py:170:1: W293 [*] Blank line contains whitespace
tardis/io/tests/test_model_reader.py:6:43: F401 [*] `tardis.io.model.readers.artis.read_artis_density` imported but unused
tardis/io/util.py:17:20: N812 Lowercase `__path__` imported as non-lowercase `TARDIS_PATH`
tardis/io/util.py:273:11: UP033 [*] Use `@functools.cache` instead of `@functools.lru_cache(maxsize=None)`
tardis/model/__init__.py:9:31: F401 `tardis.model.base.SimulationState` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/model/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/model/base.py:368:21: G004 Logging statement uses f-string
tardis/model/geometry/tests/test_radial1d.py:1:1: INP001 File `tardis/model/geometry/tests/test_radial1d.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/model/matter/__init__.py:1:45: F401 `tardis.model.matter.composition.Composition` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/model/matter/composition.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/model/matter/composition.py:178:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/model/matter/decay.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/model/matter/decay.py:103:21: G004 Logging statement uses f-string
tardis/opacities/macro_atom/base.py:112:5: E722 Do not use bare `except`
tardis/opacities/macro_atom/base.py:131:14: UP008 Use `super()` instead of `super(__class__, self)`
tardis/opacities/macro_atom/base.py:229:9: E722 Do not use bare `except`
tardis/opacities/macro_atom/macroatom_transitions.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/opacities/macro_atom/transition_probabilities.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/opacities/macro_atom/transition_probabilities.py:16:11: RUF022 [*] `__all__` is not sorted
tardis/opacities/macro_atom/util.py:4:33: F401 [*] `tardis.constants` imported but unused
tardis/opacities/opacity_state.py:111:9: ANN204 Missing return type annotation for special method `__getitem__`
tardis/opacities/opacity_state.py:117:9: D407 [*] Missing dashed underline after section ("Returns")
tardis/opacities/opacity_state.py:117:9: D406 [*] Section name should end with a newline ("Returns")
tardis/opacities/opacity_state.py:247:9: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/opacities/tests/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/opacities/tests/test_opacity_solver.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/opacities/tests/test_opacity_solver.py:2:17: F401 [*] `numpy` imported but unused
tardis/opacities/tests/test_opacity_solver.py:10:44: F401 [*] `tardis.opacities.opacity_state.OpacityState` imported but unused
tardis/opacities/tests/test_opacity_solver.py:11:42: F401 [*] `tardis.opacities.tau_sobolev.calculate_sobolev_line_opacity` imported but unused
tardis/opacities/tests/test_opacity_state_numba.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/opacities/tests/test_opacity_state_numba.py:2:44: F401 [*] `tardis.opacities.opacity_state.OpacityState` imported but unused
tardis/plasma/__init__.py:5:32: F401 `tardis.plasma.base.BasePlasma` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/assembly/__init__.py:1:41: F401 `tardis.plasma.assembly.base.PlasmaSolverFactory` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/base.py:11:1: F403 `from tardis.plasma.properties.base import *` used; unable to detect undefined names
tardis/plasma/base.py:45:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/plasma/base.py:53:9: RET506 [*] Unnecessary `else` after `raise` statement
tardis/plasma/base.py:111:17: E722 Do not use bare `except`
tardis/plasma/base.py:144:44: F405 `PreviousIterationProperty` may be undefined, or defined from star imports
tardis/plasma/base.py:153:46: F405 `Input` may be undefined, or defined from star imports
tardis/plasma/base.py:184:9: PLC0206 Extracting value from dictionary without calling `.items()`
tardis/plasma/base.py:273:13: G004 Logging statement uses f-string
tardis/plasma/base.py:296:20: F401 [*] `pygraphviz` imported but unused
tardis/plasma/base.py:297:9: E722 Do not use bare `except`
tardis/plasma/base.py:383:9: E722 Do not use bare `except`
tardis/plasma/base.py:429:35: F405 `HiddenPlasmaProperty` may be undefined, or defined from star imports
tardis/plasma/base.py:447:29: E722 Do not use bare `except`
tardis/plasma/electron_energy_distribution/__init__.py:2:5: F401 `tardis.plasma.electron_energy_distribution.base.ElectronEnergyDistribution` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/electron_energy_distribution/__init__.py:3:5: F401 `tardis.plasma.electron_energy_distribution.base.ThermalElectronEnergyDistribution` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/plasma/equilibrium/rates/__init__.py:2:5: F401 `tardis.plasma.equilibrium.rates.collision_strengths.UpsilonCMFGENSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:3:5: F401 `tardis.plasma.equilibrium.rates.collision_strengths.UpsilonRegemorterSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:6:5: F401 `tardis.plasma.equilibrium.rates.collisional_ionization_rates.CollisionalIonizationRateSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:9:5: F401 `tardis.plasma.equilibrium.rates.collisional_ionization_strengths.CollisionalIonizationSeaton` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:12:5: F401 `tardis.plasma.equilibrium.rates.collisional_rates.ThermalCollisionalRateSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:15:5: F401 `tardis.plasma.equilibrium.rates.photoionization_rates.AnalyticPhotoionizationRateSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:16:5: F401 `tardis.plasma.equilibrium.rates.photoionization_rates.EstimatedPhotoionizationRateSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:19:5: F401 `tardis.plasma.equilibrium.rates.photoionization_strengths.AnalyticPhotoionizationCoeffSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:20:5: F401 `tardis.plasma.equilibrium.rates.photoionization_strengths.EstimatedPhotoionizationCoeffSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:21:5: F401 `tardis.plasma.equilibrium.rates.photoionization_strengths.SpontaneousRecombinationCoeffSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:22:5: F401 `tardis.plasma.equilibrium.rates.photoionization_strengths.AnalyticCorrectedPhotoionizationCoeffSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/__init__.py:25:5: F401 `tardis.plasma.equilibrium.rates.radiative_rates.RadiativeRatesSolver` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/equilibrium/rates/collision_strengths.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/plasma/equilibrium/rates/collisional_rates.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/plasma/equilibrium/rates/radiative_rates.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/plasma/equilibrium/tests/test_ion_populations.py:5:8: F401 [*] `pytest` imported but unused
tardis/plasma/equilibrium/tests/test_level_populations.py:3:18: F401 [*] `pandas` imported but unused
tardis/plasma/properties/__init__.py:8:1: F403 `from tardis.opacities.macro_atom.transition_probabilities import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:9:1: F403 `from tardis.plasma.properties.atomic import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:10:1: F403 `from tardis.plasma.properties.continuum_processes import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:11:1: F403 `from tardis.plasma.properties.general import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:12:1: F403 `from tardis.plasma.properties.helium_nlte import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:13:1: F403 `from tardis.plasma.properties.ion_population import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:14:1: F403 `from tardis.plasma.properties.level_population import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:15:1: F403 `from tardis.plasma.properties.nlte import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:16:1: F403 `from tardis.plasma.properties.nlte_rate_equation_solver import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:17:1: F403 `from tardis.plasma.properties.partition_function import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:18:1: F403 `from tardis.plasma.properties.plasma_input import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:19:1: F403 `from tardis.plasma.properties.radiative_properties import *` used; unable to detect undefined names
tardis/plasma/properties/__init__.py:20:1: F403 `from tardis.plasma.properties.rate_matrix_index import *` used; unable to detect undefined names
tardis/plasma/properties/atomic.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/plasma/properties/atomic.py:28:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/atomic.py:555:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/plasma/properties/atomic.py:586:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/plasma/properties/atomic.py:599:17: G004 Logging statement uses f-string
tardis/plasma/properties/atomic.py:640:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/plasma/properties/base.py:7:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/base.py:117:25: G004 Logging statement uses f-string
tardis/plasma/properties/base.py:178:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/plasma/properties/continuum_processes/__init__.py:2:5: F401 `tardis.plasma.properties.continuum_processes.photo_ion_rate_coeff.PhotoIonRateCoeff` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/properties/continuum_processes/__init__.py:4:1: F403 `from tardis.plasma.properties.continuum_processes.rates import *` used; unable to detect undefined names
tardis/plasma/properties/continuum_processes/__init__.py:6:5: F401 `tardis.plasma.properties.continuum_processes.recomb_rate_coeff.SpontRecombRateCoeff` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/properties/continuum_processes/__init__.py:7:5: F401 `tardis.plasma.properties.continuum_processes.recomb_rate_coeff.StimRecombRateCoeff` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/properties/continuum_processes/__init__.py:8:5: F401 `tardis.plasma.properties.continuum_processes.recomb_rate_coeff.StimRecombRateFactor` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/properties/continuum_processes/rates.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/plasma/properties/continuum_processes/rates.py:23:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/continuum_processes/rates.py:157:13: FURB187 Use of assignment of `reversed` on list `idx_arrays`
tardis/plasma/properties/general.py:10:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/helium_nlte.py:182:21: E722 Do not use bare `except`
tardis/plasma/properties/helium_nlte.py:185:29: G004 Logging statement uses f-string
tardis/plasma/properties/helium_nlte.py:218:13: S605 Starting a process with a shell: seems safe, but may be changed in the future; consider rewriting without `shell`
tardis/plasma/properties/helium_nlte.py:259:69: F821 Undefined name `s1`
tardis/plasma/properties/hydrogen_continuum.py:131:13: F821 Undefined name `elemental_number_density`
tardis/plasma/properties/hydrogen_continuum.py:136:13: F821 Undefined name `partition_function`
tardis/plasma/properties/hydrogen_continuum.py:137:13: F821 Undefined name `boltzmann_factor`
tardis/plasma/properties/ion_population.py:19:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/ion_population.py:370:25: G004 Logging statement uses f-string
tardis/plasma/properties/ion_population.py:495:25: G004 Logging statement uses f-string
tardis/plasma/properties/legacy_property_collections.py:10:1: F403 `from tardis.plasma.properties import *` used; unable to detect undefined names
tardis/plasma/properties/legacy_property_collections.py:19:9: F405 `DilutePlanckianRadField` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:20:9: F405 `NumberDensity` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:21:9: F405 `TimeExplosion` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:22:9: F405 `AtomicData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:23:9: F405 `JBlues` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:24:9: F405 `LinkTRadTElectron` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:25:9: F405 `HeliumTreatment` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:26:9: F405 `ContinuumInteractionSpecies` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:27:9: F405 `NLTEIonizationSpecies` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:28:9: F405 `NLTEExcitationSpecies` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:33:9: F405 `TRadiative` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:34:9: F405 `DilutionFactor` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:35:9: F405 `BetaRadiation` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:36:9: F405 `Levels` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:37:9: F405 `Lines` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:38:9: F405 `PartitionFunction` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:39:9: F405 `GElectron` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:40:9: F405 `IonizationData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:41:9: F405 `LinesLowerLevelIndex` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:42:9: F405 `LinesUpperLevelIndex` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:44:9: F405 `StimulatedEmissionFactor` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:45:9: F405 `SelectedAtoms` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:46:9: F405 `ElectronTemperature` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:49:55: F405 `PhiSahaLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:50:55: F405 `LevelBoltzmannFactorLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:52:44: F405 `MacroAtomData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:55:6: F405 `PhiSahaNebular` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:55:22: F405 `ZetaData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:55:32: F405 `BetaElectron` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:55:46: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:58:6: F405 `LevelBoltzmannFactorDiluteLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:60:49: F405 `LevelBoltzmannFactorNoNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:63:9: F405 `LevelBoltzmannFactorNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:64:9: F405 `NLTEData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:65:9: F405 `PreviousElectronDensities` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:66:9: F405 `PreviousBetaSobolev` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:71:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:71:23: F405 `NLTEPopulationSolverRoot` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:74:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:74:23: F405 `NLTEPopulationSolverLU` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:78:9: F405 `HeliumNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:79:9: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:80:9: F405 `ZetaData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:81:9: F405 `BetaElectron` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:82:9: F405 `LevelNumberDensityHeNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:83:9: F405 `IonNumberDensityHeNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:87:6: F405 `LevelNumberDensity` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:87:26: F405 `IonNumberDensity` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:90:6: F405 `HeliumNumericalNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:94:9: F405 `PhotoIonRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:95:9: F405 `StimRecombRateFactor` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:96:9: F405 `BfHeatingRateCoeffEstimator` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:97:9: F405 `StimRecombCoolingRateCoeffEstimator` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:98:9: F405 `YgData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:103:9: F405 `StimRecombRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:104:9: F405 `PhotoIonizationData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:105:9: F405 `SpontRecombRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:106:9: F405 `ThermalLevelBoltzmannFactorLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:107:9: F405 `ThermalLTEPartitionFunction` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:108:9: F405 `BetaElectron` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:109:9: F405 `ThermalGElectron` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:110:9: F405 `ThermalPhiSahaLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:111:9: F405 `SahaFactor` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:112:9: F405 `CorrPhotoIonRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:113:9: F405 `SpontRecombCoolingRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:114:9: F405 `RawRecombTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:115:9: F405 `RawPhotoIonTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:116:9: F405 `RawRadBoundBoundTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:117:9: F405 `MarkovChainTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:118:9: F405 `NonContinuumTransProbsMask` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:119:9: F405 `YgInterpolator` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:120:9: F405 `CollExcRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:121:9: F405 `CollDeexcRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:122:9: F405 `RawCollisionTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:123:9: F405 `MarkovChainIndex` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:124:9: F405 `MarkovChainTransProbsCollector` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:126:9: F405 `MonteCarloTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:127:9: F405 `FreeFreeCoolingRate` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:128:9: F405 `FreeBoundCoolingRate` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:130:9: F405 `LevelNumberDensityLTE` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:131:9: F405 `PhotoIonBoltzmannFactor` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:132:9: F405 `FreeBoundEmissionCDF` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:133:9: F405 `LevelIdxs2LineIdx` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:134:9: F405 `LevelIdxs2TransitionIdx` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:135:9: F405 `CollIonRateCoeffSeaton` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:136:9: F405 `CollRecombRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:138:9: F405 `ContinuumInteractionHandler` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:142:58: F405 `AdiabaticCoolingRate` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:145:9: F405 `RawTwoPhotonTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:146:9: F405 `TwoPhotonData` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:147:9: F405 `TwoPhotonEmissionCDF` may be undefined, or defined from star imports
tardis/plasma/properties/legacy_property_collections.py:148:9: F405 `TwoPhotonFrequencySampler` may be undefined, or defined from star imports
tardis/plasma/properties/nlte.py:9:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/nlte_rate_equation_solver.py:9:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/nlte_rate_equation_solver.py:316:25: G004 Logging statement uses f-string
tardis/plasma/properties/nlte_rate_equation_solver.py:323:25: G004 Logging statement uses f-string
tardis/plasma/properties/partition_function.py:21:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/partition_function.py:154:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/plasma/properties/partition_function.py:190:25: G004 Logging statement uses f-string
tardis/plasma/properties/plasma_input.py:6:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/properties/property_collections.py:1:1: F403 `from tardis.plasma.properties import *` used; unable to detect undefined names
tardis/plasma/properties/property_collections.py:10:9: F405 `DilutePlanckianRadField` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:11:9: F405 `NumberDensity` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:12:9: F405 `TimeExplosion` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:13:9: F405 `AtomicData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:14:9: F405 `JBlues` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:15:9: F405 `LinkTRadTElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:16:9: F405 `HeliumTreatment` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:17:9: F405 `ContinuumInteractionSpecies` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:18:9: F405 `NLTEIonizationSpecies` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:19:9: F405 `NLTEExcitationSpecies` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:24:9: F405 `TRadiative` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:25:9: F405 `DilutionFactor` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:26:9: F405 `BetaRadiation` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:27:9: F405 `Levels` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:28:9: F405 `Lines` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:29:9: F405 `PartitionFunction` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:30:9: F405 `GElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:31:9: F405 `IonizationData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:32:9: F405 `LinesLowerLevelIndex` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:33:9: F405 `LinesUpperLevelIndex` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:34:9: F405 `StimulatedEmissionFactor` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:35:9: F405 `SelectedAtoms` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:36:9: F405 `ElectronTemperature` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:37:9: F405 `ThermalLevelBoltzmannFactorLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:38:9: F405 `ThermalLTEPartitionFunction` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:39:9: F405 `BetaElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:40:9: F405 `ThermalGElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:41:9: F405 `ThermalPhiSahaLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:42:9: F405 `SahaFactor` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:45:55: F405 `PhiSahaLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:46:55: F405 `LevelBoltzmannFactorLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:49:6: F405 `PhiSahaNebular` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:49:22: F405 `ZetaData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:49:32: F405 `BetaElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:49:46: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:52:6: F405 `LevelBoltzmannFactorDiluteLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:54:49: F405 `LevelBoltzmannFactorNoNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:57:9: F405 `LevelBoltzmannFactorNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:58:9: F405 `NLTEData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:59:9: F405 `PreviousElectronDensities` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:60:9: F405 `PreviousBetaSobolev` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:64:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:64:23: F405 `NLTEPopulationSolverRoot` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:67:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:67:23: F405 `NLTEPopulationSolverLU` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:71:9: F405 `HeliumNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:72:9: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:73:9: F405 `ZetaData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:74:9: F405 `BetaElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:75:9: F405 `LevelNumberDensityHeNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:76:9: F405 `IonNumberDensityHeNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:80:6: F405 `LevelNumberDensity` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:80:26: F405 `IonNumberDensity` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:83:6: F405 `HeliumNumericalNLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:87:9: F405 `PhotoIonRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:88:9: F405 `StimRecombRateFactor` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:89:9: F405 `BfHeatingRateCoeffEstimator` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:90:9: F405 `StimRecombCoolingRateCoeffEstimator` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:91:9: F405 `YgData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:96:9: F405 `StimRecombRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:97:9: F405 `PhotoIonizationData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:98:9: F405 `SpontRecombRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:99:9: F405 `ThermalLevelBoltzmannFactorLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:100:9: F405 `ThermalLTEPartitionFunction` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:101:9: F405 `BetaElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:102:9: F405 `ThermalGElectron` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:103:9: F405 `ThermalPhiSahaLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:104:9: F405 `SahaFactor` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:105:9: F405 `CorrPhotoIonRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:106:9: F405 `SpontRecombCoolingRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:107:9: F405 `YgInterpolator` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:108:9: F405 `CollExcRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:109:9: F405 `CollDeexcRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:110:9: F405 `RawCollisionTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:111:9: F405 `MarkovChainIndex` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:112:9: F405 `FreeFreeCoolingRate` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:113:9: F405 `FreeBoundCoolingRate` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:114:9: F405 `LevelNumberDensityLTE` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:115:9: F405 `PhotoIonBoltzmannFactor` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:116:9: F405 `FreeBoundEmissionCDF` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:117:9: F405 `LevelIdxs2LineIdx` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:118:9: F405 `LevelIdxs2TransitionIdx` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:119:9: F405 `CollIonRateCoeffSeaton` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:120:9: F405 `CollRecombRateCoeff` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:121:9: F405 `ContinuumInteractionHandler` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:124:58: F405 `AdiabaticCoolingRate` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:127:9: F405 `RawTwoPhotonTransProbs` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:128:9: F405 `TwoPhotonData` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:129:9: F405 `TwoPhotonEmissionCDF` may be undefined, or defined from star imports
tardis/plasma/properties/property_collections.py:130:9: F405 `TwoPhotonFrequencySampler` may be undefined, or defined from star imports
tardis/plasma/properties/radiative_properties.py:16:11: RUF022 [*] `__all__` is not sorted
tardis/plasma/radiation_field/__init__.py:2:5: F401 `tardis.plasma.radiation_field.planck_rad_field.DilutePlanckianRadiationField` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/radiation_field/__init__.py:3:5: F401 `tardis.plasma.radiation_field.planck_rad_field.PlanckianRadiationField` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/plasma/radiation_field/planck_rad_field.py:58:44: UP007 [*] Use `X | Y` for type annotations
tardis/plasma/radiation_field/planck_rad_field.py:117:44: UP007 [*] Use `X | Y` for type annotations
tardis/plasma/standard_plasmas.py:323:9: RET506 [*] Unnecessary `else` after `raise` statement
tardis/plasma/tests/test_complete_plasmas.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/radiation_field/base.py:1:1: INP001 File `tardis/radiation_field/base.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/radiation_field/validate_radiation_field.py:1:1: INP001 File `tardis/radiation_field/validate_radiation_field.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/radiation_field/validate_radiation_field.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/radiation_field/validate_radiation_field.py:24:9: LOG015 `critical()` call on root logger
tardis/radiation_field/validate_radiation_field.py:25:13: G004 Logging statement uses f-string
tardis/scripts/cmfgen2tardis.py:13:27: F821 Undefined name `atomic_dataset`
tardis/scripts/cmfgen2tardis.py:68:34: F821 Undefined name `atomic_dataset`
tardis/scripts/debug/run_numba_single.py:1:1: INP001 File `tardis/scripts/debug/run_numba_single.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/simulation/__init__.py:5:36: F401 `tardis.simulation.base.Simulation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/simulation/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/simulation/base.py:18:5: F401 [*] `tardis.opacities.macro_atom.macroatom_solver.LegacyMacroAtomSolver` imported but unused
tardis/simulation/base.py:265:17: G004 Logging statement uses f-string
tardis/simulation/base.py:448:13: G004 Logging statement uses f-string
tardis/simulation/base.py:553:13: G004 Logging statement uses f-string
tardis/simulation/base.py:646:13: G004 Logging statement uses f-string
tardis/simulation/base.py:651:13: G004 Logging statement uses f-string
tardis/simulation/base.py:702:13: TRY300 Consider moving this statement to an `else` block
tardis/simulation/base.py:704:26: G004 Logging statement uses f-string
tardis/simulation/tests/test_simulation.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/simulation/tests/test_simulation.py:5:18: F401 [*] `copy.deepcopy` imported but unused
tardis/spectrum/formal_integral/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/formal_integral/base.py:2:31: F401 [*] `scipy.interpolate.interp1d` imported but unused
tardis/spectrum/formal_integral/base.py:3:24: F401 [*] `scipy.sparse` imported but unused
tardis/spectrum/formal_integral/base.py:4:31: F401 [*] `scipy.sparse.linalg` imported but unused
tardis/spectrum/formal_integral/base.py:8:33: F401 [*] `tardis.constants` imported but unused
tardis/spectrum/formal_integral/base.py:54:9: RET506 [*] Unnecessary `else` after `raise` statement
tardis/spectrum/formal_integral/formal_integral_cuda.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/formal_integral/formal_integral_cuda.py:89:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/spectrum/formal_integral/formal_integral_cuda.py:132:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/spectrum/formal_integral/formal_integral_numba.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/formal_integral/formal_integral_numba.py:3:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
tardis/spectrum/formal_integral/formal_integral_numba.py:48:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/spectrum/formal_integral/formal_integral_numba.py:96:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/spectrum/formal_integral/formal_integral_numba.py:122:5: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/spectrum/formal_integral/formal_integral_numba.py:151:5: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/spectrum/formal_integral/formal_integral_numba.py:196:6: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/spectrum/formal_integral/formal_integral_numba.py:204:5: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/spectrum/formal_integral/formal_integral_numba.py:307:6: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/spectrum/formal_integral/formal_integral_numba.py:386:6: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/spectrum/formal_integral/formal_integral_numba.py:598:10: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/spectrum/formal_integral/formal_integral_solver.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/formal_integral/formal_integral_solver.py:101:17: F541 [*] f-string without any placeholders
tardis/spectrum/formal_integral/formal_integral_solver.py:101:17: G004 Logging statement uses f-string
tardis/spectrum/formal_integral/source_function.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/formal_integral/tests/test_cuda_formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/formal_integral/tests/test_cuda_formal_integral.py:14:61: F401 [*] `tardis.spectrum.formal_integral.source_function.SourceFunctionSolver` imported but unused
tardis/spectrum/formal_integral/tests/test_formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/formal_integral/tests/test_formal_integral.py:10:55: F401 [*] `tardis.transport.montecarlo.configuration.montecarlo_globals` imported but unused
tardis/spectrum/formal_integral/tests/test_formal_integral.py:16:36: F401 [*] `tardis.spectrum.formal_integral.formal_integral_cuda.calculate_impact_parameters` imported but unused
tardis/spectrum/formal_integral/tests/test_formal_integral.py:17:5: F401 [*] `tardis.spectrum.formal_integral.formal_integral_cuda.intensity_black_body_cuda` imported but unused
tardis/spectrum/formal_integral/tests/test_numba_formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/tests/test_spectrum.py:1:21: F401 [*] `pathlib.Path` imported but unused
tardis/spectrum/tests/test_spectrum_solver.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/spectrum/tests/test_spectrum_solver.py:1:21: F401 [*] `pathlib.Path` imported but unused
tardis/spectrum/tests/test_spectrum_solver.py:9:51: F401 [*] `tardis.io.configuration.config_reader.Configuration` imported but unused
tardis/spectrum/tests/test_spectrum_solver.py:10:36: F401 [*] `tardis.simulation.base.Simulation` imported but unused
tardis/tests/test_tardis_full.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/tests/test_tardis_full_formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/tests/test_tardis_full_formal_integral.py:3:17: F401 [*] `numpy` imported but unused
tardis/transport/frame_transformations.py:18:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/transport/frame_transformations.py:48:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/transport/montecarlo/__init__.py:14:1: E402 Module level import not at top of file
tardis/transport/montecarlo/__init__.py:24:1: E402 Module level import not at top of file
tardis/transport/montecarlo/__init__.py:25:5: F401 `tardis.transport.montecarlo.packets.packet_collections.PacketCollection` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/transport/montecarlo/__init__.py:27:1: E402 Module level import not at top of file
tardis/transport/montecarlo/__init__.py:27:66: F401 `tardis.transport.montecarlo.packets.radiative_packet.RPacket` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/transport/montecarlo/estimators/__init__.py:2:5: F401 `tardis.transport.montecarlo.estimators.base.EstimatedRadiationFieldProperties` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/transport/montecarlo/estimators/continuum_radfield_properties.py:3:17: F401 [*] `numpy` imported but unused
tardis/transport/montecarlo/estimators/continuum_radfield_properties.py:5:30: F401 [*] `astropy.units` imported but unused
tardis/transport/montecarlo/estimators/tests/test_continuum_property_solver.py:1:1: INP001 File `tardis/transport/montecarlo/estimators/tests/test_continuum_property_solver.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/transport/montecarlo/estimators/tests/test_continuum_property_solver.py:36:55: F821 Undefined name `u`
tardis/transport/montecarlo/estimators/util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/transport/montecarlo/estimators/util.py:66:32: NPY201 `np.trapz` will be removed in NumPy 2.0. Use `numpy.trapezoid` on NumPy 2.0, or ignore this warning on earlier versions.
tardis/transport/montecarlo/packet_source/__init__.py:9:1: I001 [*] Import block is un-sorted or un-formatted
tardis/transport/montecarlo/packets/packet_trackers.py:199:1: W293 [*] Blank line contains whitespace
tardis/transport/montecarlo/packets/packet_trackers.py:202:1: W293 [*] Blank line contains whitespace
tardis/transport/montecarlo/packets/packet_trackers.py:213:1: W293 [*] Blank line contains whitespace
tardis/transport/montecarlo/packets/packet_trackers.py:216:1: W293 [*] Blank line contains whitespace
tardis/transport/montecarlo/packets/packet_trackers.py:227:1: W293 [*] Blank line contains whitespace
tardis/transport/montecarlo/packets/packet_trackers.py:231:1: W293 [*] Blank line contains whitespace
tardis/transport/montecarlo/packets/packet_trackers.py:276:1: W293 Blank line contains whitespace
tardis/transport/montecarlo/packets/radiative_packet.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/transport/montecarlo/packets/tests/test_packet.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/transport/montecarlo/packets/tests/test_packet.py:22:1: E402 Module level import not at top of file
tardis/transport/montecarlo/packets/tests/test_vpacket.py:12:1: E402 Module level import not at top of file
tardis/transport/montecarlo/packets/virtual_packet.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/transport/montecarlo/r_packet_transport.py:115:13: RET508 [*] Unnecessary `elif` after `break` statement
tardis/transport/montecarlo/single_packet_loop.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/transport/montecarlo/tests/conftest.py:7:44: F401 [*] `tardis.opacities.opacity_state.opacity_state_initialize` imported but unused
tardis/transport/montecarlo/tests/test_montecarlo.py:26:1: E402 Module level import not at top of file
tardis/transport/montecarlo/tests/test_montecarlo.py:31:1: E402 Module level import not at top of file
tardis/transport/montecarlo/tests/test_montecarlo.py:47:5: PT021 Use `yield` instead of `request.addfinalizer`
tardis/transport/montecarlo/tests/test_montecarlo.py:104:5: F811 Redefinition of unused `test_get_random_mu_different_output` from line 95
tardis/transport/montecarlo/tests/test_montecarlo.py:384:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:470:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:471:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:479:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:496:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:501:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:524:9: F821 Undefined name `transport`
tardis/transport/montecarlo/tests/test_montecarlo.py:525:9: F821 Undefined name `transport`
tardis/transport/montecarlo/tests/test_montecarlo.py:526:9: F821 Undefined name `transport`
tardis/transport/montecarlo/tests/test_montecarlo.py:527:9: F821 Undefined name `transport`
tardis/transport/montecarlo/tests/test_montecarlo.py:529:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:542:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:566:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_montecarlo.py:579:5: F821 Undefined name `mc`
tardis/transport/montecarlo/tests/test_numba_interface.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/transport/tests/test_doppler_factor.py:1:1: INP001 File `tardis/transport/tests/test_doppler_factor.py` is part of an implicit namespace package. Add an `__init__.py`.
tardis/util/base.py:19:37: F401 [*] `tardis.util.environment.Environment` imported but unused
tardis/util/base.py:180:20: NPY201 `np.trapz` will be removed in NumPy 2.0. Use `numpy.trapezoid` on NumPy 2.0, or ignore this warning on earlier versions.
tardis/util/base.py:498:5: E722 Do not use bare `except`
tardis/util/environment.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/util/environment.py:8:28: W291 [*] Trailing whitespace
tardis/util/environment.py:14:1: W293 [*] Blank line contains whitespace
tardis/util/environment.py:18:1: W293 Blank line contains whitespace
tardis/util/environment.py:26:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/util/environment.py:37:1: W293 [*] Blank line contains whitespace
tardis/util/environment.py:44:1: W293 [*] Blank line contains whitespace
tardis/util/environment.py:51:1: W293 [*] Blank line contains whitespace
tardis/util/environment.py:64:1: W293 [*] Blank line contains whitespace
tardis/util/environment.py:77:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/util/environment.py:86:1: W293 Blank line contains whitespace
tardis/util/environment.py:110:1: W293 Blank line contains whitespace
tardis/util/environment.py:117:1: W293 [*] Blank line contains whitespace
tardis/util/environment.py:122:1: W293 Blank line contains whitespace
tardis/util/environment.py:128:45: W291 [*] Trailing whitespace
tardis/util/environment.py:129:43: W291 [*] Trailing whitespace
tardis/util/environment.py:130:42: W291 [*] Trailing whitespace
tardis/util/panel_init.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/util/panel_init.py:4:8: F401 [*] `os` imported but unused
tardis/util/panel_init.py:11:92: W291 [*] Trailing whitespace
tardis/util/panel_init.py:43:1: W293 [*] Blank line contains whitespace
tardis/visualization/__init__.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/__init__.py:3:57: F401 `tardis.visualization.tools.convergence_plot.ConvergencePlots` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:4:49: F401 `tardis.visualization.tools.liv_plot.LIVPlotter` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:5:53: F401 `tardis.visualization.tools.rpacket_plot.RPacketPlotter` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:6:50: F401 `tardis.visualization.tools.sdec_plot.SDECPlotter` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:7:59: F401 `tardis.visualization.widgets.custom_abundance.CustomAbundanceWidget` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:8:51: F401 `tardis.visualization.widgets.grotrian.GrotrianWidget` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:9:52: F401 `tardis.visualization.widgets.line_info.LineInfoWidget` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:11:5: F401 `tardis.visualization.widgets.shell_info.shell_info_from_hdf` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:12:5: F401 `tardis.visualization.widgets.shell_info.shell_info_from_simulation` imported but unused; consider removing, adding to `__all__`, or using a redundant alias
tardis/visualization/__init__.py:17:1: E402 Module level import not at top of file
tardis/visualization/__init__.py:17:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/__init__.py:18:36: W292 [*] No newline at end of file
tardis/visualization/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/conftest.py:4:25: F811 [*] Redefinition of unused `run_tardis` from line 1
tardis/visualization/conftest.py:38:15: W292 [*] No newline at end of file
tardis/visualization/plot_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/plot_util.py:56:5: RET505 [*] Unnecessary `else` after `return` statement
tardis/visualization/sdec/util.py:117:9: RET506 [*] Unnecessary `else` after `raise` statement
tardis/visualization/sdec/util.py:275:9: RET506 [*] Unnecessary `else` after `raise` statement
tardis/visualization/sdec/util.py:312:9: UP034 [*] Avoid extraneous parentheses
tardis/visualization/tests/test_plot_util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/convergence_plot.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/convergence_plot.py:4:8: F401 [*] `warnings` imported but unused
tardis/visualization/tools/lineid_plotter.py:20:5: D202 [*] No blank lines allowed after function docstring (found 1)
tardis/visualization/tools/rpacket_plot.py:2:1: UP035 `typing.Dict` is deprecated, use `dict` instead
tardis/visualization/tools/rpacket_plot.py:2:1: UP035 `typing.List` is deprecated, use `list` instead
tardis/visualization/tools/rpacket_plot.py:2:1: UP035 `typing.Tuple` is deprecated, use `tuple` instead
tardis/visualization/tools/rpacket_plot.py:457:10: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/visualization/tools/rpacket_plot.py:457:40: UP006 [*] Use `list` instead of `List` for type annotation
tardis/visualization/tools/rpacket_plot.py:535:10: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/visualization/tools/rpacket_plot.py:570:1: W293 [*] Blank line contains whitespace
tardis/visualization/tools/rpacket_plot.py:596:10: UP006 [*] Use `tuple` instead of `Tuple` for type annotation
tardis/visualization/tools/rpacket_plot.py:662:10: UP006 [*] Use `list` instead of `List` for type annotation
tardis/visualization/tools/rpacket_plot.py:706:16: UP007 [*] Use `X | Y` for type annotations
tardis/visualization/tools/rpacket_plot.py:781:64: UP006 [*] Use `list` instead of `List` for type annotation
tardis/visualization/tools/rpacket_plot.py:781:69: UP006 [*] Use `dict` instead of `Dict` for type annotation
tardis/visualization/tools/sdec_plot.py:8:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/tests/test_convergence_plot.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/tests/test_convergence_plot.py:14:25: F811 [*] Redefinition of unused `defaultdict` from line 3
tardis/visualization/tools/tests/test_convergence_plot.py:15:32: F811 [*] Redefinition of unused `go` from line 6
tardis/visualization/tools/tests/test_convergence_plot.py:16:30: F811 [*] Redefinition of unused `u` from line 8
tardis/visualization/tools/tests/test_lineid_plotter.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/tests/test_lineid_plotter.py:7:1: E402 Module level import not at top of file
tardis/visualization/tools/tests/test_lineid_plotter.py:7:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/tests/test_liv_plot.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/tests/test_liv_plot.py:298:29: ISC003 [*] Explicitly concatenated string should be implicitly concatenated
tardis/visualization/tools/tests/test_sdec_plot.py:2:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/tools/tests/test_sdec_plot.py:276:29: ISC003 [*] Explicitly concatenated string should be implicitly concatenated
tardis/visualization/tools/tests/test_sdec_plot.py:332:9: F811 Redefinition of unused `test_generate_plot_mpl` from line 243
tardis/visualization/widgets/custom_abundance.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/widgets/custom_abundance.py:741:16: RUF021 [*] Parenthesize `a and b` expressions when chaining `and` and `or` together, to make the precedence clear
tardis/visualization/widgets/custom_abundance.py:1131:9: RET505 [*] Unnecessary `else` after `return` statement
tardis/visualization/widgets/custom_abundance.py:1422:9: RET506 [*] Unnecessary `else` after `raise` statement
tardis/visualization/widgets/custom_abundance.py:1725:9: F811 Redefinition of unused `input_d_time_0_eventhandler` from line 1714
tardis/visualization/widgets/custom_abundance.py:1755:13: F821 Undefined name `display`
tardis/visualization/widgets/custom_abundance.py:1757:13: F821 Undefined name `display`
tardis/visualization/widgets/custom_abundance.py:1759:13: F821 Undefined name `display`
tardis/visualization/widgets/grotrian.py:38:5: SIM103 Return the condition `transform in [np.log, np.log10]` directly
tardis/visualization/widgets/grotrian.py:612:35: ISC003 [*] Explicitly concatenated string should be implicitly concatenated
tardis/visualization/widgets/grotrian.py:757:35: ISC003 [*] Explicitly concatenated string should be implicitly concatenated
tardis/visualization/widgets/grotrian.py:1180:9: RET505 [*] Unnecessary `elif` after `return` statement
tardis/visualization/widgets/line_info.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/visualization/widgets/tests/test_custom_abundance.py:224:37: RUF015 Prefer `next(iter(unique_v))` over single element slice
tardis/visualization/widgets/tests/test_line_info.py:11:1: E402 Module level import not at top of file
tardis/visualization/widgets/tests/test_shell_info.py:6:1: E402 Module level import not at top of file
tardis/visualization/widgets/util.py:3:1: I001 [*] Import block is un-sorted or un-formatted
tardis/workflows/high_energy/tests/conftest.py:5:1: I001 [*] Import block is un-sorted or un-formatted
tardis/workflows/simple_tardis_workflow.py:258:17: G004 Logging statement uses f-string
tardis/workflows/simple_tardis_workflow.py:484:17: G004 Logging statement uses f-string
tardis/workflows/standard_tardis_workflow.py:170:13: G004 Logging statement uses f-string
tardis/workflows/standard_tardis_workflow.py:210:17: G004 Logging statement uses f-string
tardis/workflows/tests/test_workflows.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/workflows/tests/test_workflows.py:2:21: F401 [*] `pathlib.Path` imported but unused
tardis/workflows/tests/test_workflows.py:7:51: F401 [*] `tardis.io.configuration.config_reader.Configuration` imported but unused
tardis/workflows/util.py:1:1: I001 [*] Import block is un-sorted or un-formatted
tardis/workflows/v_inner_solver.py:16:3: TD005 Missing issue description after `TODO`
tardis/workflows/v_inner_solver.py:278:17: G004 Logging statement uses f-string
tardis/workflows/v_inner_solver.py:305:17: G004 Logging statement uses f-string
tardis/workflows/v_inner_solver.py:408:17: G004 Logging statement uses f-string
tardis/workflows/workflow_logging.py:69:13: G004 Logging statement uses f-string
tardis/workflows/workflow_logging.py:107:21: G004 Logging statement uses f-string
Found 1132 errors.
[*] 523 fixable with the `--fix` option (102 hidden fixes can be enabled with the `--unsafe-fixes` option).

@epassaro epassaro merged commit d358fa7 into tardis-sn:master Sep 21, 2025
29 of 37 checks passed
@codecov
Copy link

codecov bot commented Sep 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.26%. Comparing base (0a0cfdc) to head (f2a78ef).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3312      +/-   ##
==========================================
- Coverage   68.51%   68.26%   -0.26%     
==========================================
  Files         175      175              
  Lines       13385    13385              
==========================================
- Hits         9171     9137      -34     
- Misses       4214     4248      +34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tardis-bot
Copy link
Contributor Author

*beep* *bop*
Hi human,
I ran benchmarks as you asked comparing master (0a0cfdc) and the latest commit (f2a78ef).
Here are the logs produced by ASV.
Results can also be downloaded as artifacts here.

Significantly changed benchmarks:

Details

All benchmarks:

Details
Benchmarks that have stayed the same:

| Change   | Before [0a0cfdc8] <master>   | After [f2a78ef9]    | Ratio   | Benchmark (Parameter)                                                                                                               |
|----------|------------------------------|---------------------|---------|-------------------------------------------------------------------------------------------------------------------------------------|
|          | 511±200ns                    | 581±100ns           | ~1.14   | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_compton_opacity_calculation                                      |
|          | 50.0±20μs                    | 44.6±20μs           | ~0.89   | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_emission                                         |
|          | 7.87±2μs                     | 6.96±2μs            | ~0.89   | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_volley                                    |
|          | 71.5±30μs                    | 61.3±30μs           | ~0.86   | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_line_scatter                                          |
|          | 1.66±0.5μs                   | 1.41±0.4μs          | ~0.85   | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_line                    |
|          | 63.0±0.4ms                   | 53.5±1ms            | ~0.85   | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_rpacket_trackers_to_dataframe                  |
|          | 2.31±2μs                     | 1.94±2μs            | ~0.84   | transport_montecarlo_estimators_radfield_estimator_calcs.BenchmarkMontecarloMontecarloNumbaPacket.time_update_line_estimators       |
|          | 25.6±7μs                     | 21.2±5μs            | ~0.83   | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_last_interaction_tracker_list |
|          | 3.76±0.2μs                   | 2.84±0.7μs          | ~0.75   | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket_within_shell                              |
|          | 2.50±0.01ms                  | 2.68±0.04ms         | 1.07    | transport_montecarlo_main_loop.BenchmarkTransportMontecarloMontecarloMainLoop.time_montecarlo_main_loop                             |
|          | 2.60±0.3ms                   | 2.78±0.4ms          | 1.07    | transport_montecarlo_single_packet_loop.BenchmarkTransportMontecarloSinglePacketLoop.time_single_packet_loop                        |
|          | 572±200ns                    | 601±200ns           | 1.05    | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_photoabsorption_opacity_calculation                              |
|          | 3.68±0.01ms                  | 3.76±0.02ms         | 1.02    | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('macroatom')                                   |
|          | 6.44±1μs                     | 6.48±1μs            | 1.01    | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_vpacket                                           |
|          | 1.05±0m                      | 1.05±0m             | 1.00    | run_tardis.BenchmarkRunTardis.time_run_tardis_rpacket_tracking                                                                      |
|          | 1.02±0m                      | 1.02±0m             | 1.00    | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_FormalIntegrator_functions                                 |
|          | 37.0±0.06s                   | 36.8±0.01s          | 0.99    | run_tardis.BenchmarkRunTardis.time_run_tardis                                                                                       |
|          | 1.16±0μs                     | 1.15±0μs            | 0.99    | transport_geometry_calculate_distances.BenchmarkTransportGeometryCalculateDistances.time_calculate_distance_boundary                |
|          | 1.13±0μs                     | 1.10±0μs            | 0.97    | spectrum_formal_integral.BenchmarkTransportMontecarloFormalIntegral.time_intensity_black_body                                       |
|          | 674±1ns                      | 654±2ns             | 0.97    | transport_montecarlo_interaction.BenchmarkTransportMontecarloInteraction.time_thomson_scatter                                       |
|          | 37.0±0.05μs                  | 35.8±0.05μs         | 0.97    | transport_montecarlo_packet_trackers.BenchmarkTransportMontecarloPacketTrackers.time_generate_rpacket_tracker_list                  |
|          | 581±200ns                    | 541±200ns           | 0.93    | opacities_opacity.BenchmarkMontecarloMontecarloNumbaOpacities.time_pair_creation_opacity_calculation                                |
|          | 3.70±0.5μs                   | 3.39±0.5μs          | 0.92    | transport_montecarlo_vpacket.BenchmarkMontecarloMontecarloNumbaVpacket.time_trace_bad_vpacket                                       |
|          | 2.91±0.02ms                  | 2.65±0ms            | 0.91    | opacities_opacity_state.BenchmarkOpacitiesOpacityState.time_opacity_state_initialize('scatter')                                     |

If you want to see the graph of the results, you can check it here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants