tardis-sn / tardis

TARDIS - Temperature And Radiative Diffusion In Supernovae
https://tardis-sn.github.io/tardis
201 stars 404 forks source link

Adding a logger widget for logging in run_tardis #2700

Open DeekshaMohanty opened 2 months ago

DeekshaMohanty commented 2 months ago

:pencil: Description

Fixes #2701

Type: :rocket: feature

:vertical_traffic_light: Testing

How did you test these changes?

:ballot_box_with_check: Checklist

Note: If you are not allowed to perform any of these actions, ping (@) a contributor.

tardis-bot commented 2 months ago

*beep* *bop*

Hi, human.

The docs workflow has failed :x:

Click here to see the build log.

review-notebook-app[bot] commented 2 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

tardis-bot commented 2 months ago

*beep* *bop*

Hi, human.

I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently.

Please add your name and email to .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

tardis-bot commented 1 month ago

*beep* *bop*

Hi, human.

I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently.

Please add your name and email to .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

tardis-bot commented 1 month ago

*beep* *bop*

Hi, human.

I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently.

Please add your name and email to .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

tardis-bot commented 1 month ago

*beep* *bop*

Hi, human.

I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently.

Please add your name and email to .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

tardis-bot commented 1 month ago

*beep* *bop*

Hi, human.

I'm the @tardis-bot and couldn't find your records in my database. I think we don't know each other, or you changed your credentials recently.

Please add your name and email to .mailmap in your current branch and push the changes to this pull request.

In case you need to map an existing alias, follow this example.

wkerzendorf commented 1 month ago

@DeekshaMohanty can you please fix the .mailmap problem.

tardis-bot commented 1 month ago

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

```diff 128 F405 [ ] `Abundance` may be undefined, or defined from star imports 99 W291 [*] Trailing whitespace 79 W191 [ ] Indentation contains tabs 75 F401 [*] `IPython.display.display` imported but unused 69 I001 [*] Import block is un-sorted or un-formatted 61 E902 [ ] No such file or directory (os error 2) 46 E999 [ ] SyntaxError: Expected ',', found ':' 38 W605 [*] Invalid escape sequence: `\ ` 31 RET505 [ ] Unnecessary `elif` after `return` statement 28 D202 [*] No blank lines allowed after function docstring (found 1) 23 G004 [ ] Logging statement uses f-string 19 W293 [*] Blank line contains whitespace 19 F403 [ ] `from pylab import *` used; unable to detect undefined names 18 F821 [ ] Undefined name `display` 17 UP008 [*] Use `super()` instead of `super(__class__, self)` 13 F811 [ ] Redefinition of unused `OpacityState` from line 14 13 UP015 [*] Unnecessary open mode parameters 11 UP032 [*] Use f-string instead of `format` call 10 E402 [ ] Module level import not at top of file 10 E722 [ ] Do not use bare `except` 10 UP004 [*] Class `BasePlasmaProperty` inherits from `object` 8 RET506 [ ] Unnecessary `else` after `raise` statement 8 D209 [*] Multi-line docstring closing quotes should be on a separate line 6 E712 [*] Avoid equality comparisons to `False`; use `if not ...:` for false checks 5 INP001 [ ] File `.ci-helpers/update_credits.py` is part of an implicit namespace package. Add an `__init__.py`. 4 C408 [*] Unnecessary `dict` call (rewrite as a literal) 4 E101 [ ] Indentation contains mixed spaces and tabs 4 W292 [*] No newline at end of file 4 UP030 [*] Use implicit references for positional format fields 3 B018 [ ] Found useless attribute access. Either assign it to a variable or remove it. 3 F631 [ ] Assert test is a non-empty tuple, which is always `True` 3 PLW0127 [ ] Self-assignment of variable `observed_spectrum` 2 ANN205 [ ] Missing return type annotation for staticmethod `get_relative_path` 2 B011 [*] Do not `assert False` (`python -O` removes these calls), raise `AssertionError()` 2 C403 [*] Unnecessary `list` comprehension (rewrite as a `set` comprehension) 2 ISC003 [ ] Explicitly concatenated string should be implicitly concatenated 2 G001 [ ] Logging statement uses `str.format` 2 G010 [*] Logging statement uses `warn` instead of `warning` 2 PIE790 [*] Unnecessary `pass` statement 2 PIE808 [*] Unnecessary `start` argument in `range` 2 PT015 [ ] Assertion always fails, replace with `pytest.fail()` 2 TD006 [*] Invalid TODO capitalization: `todo` should be `TODO` 2 FLY002 [*] Consider `f"{hash_string}_{nlte_prop}"` instead of string join 2 D204 [*] 1 blank line required after class docstring 2 D412 [*] No blank lines allowed between a section header and its content ("Parameters") 2 PGH004 [ ] Use specific rule codes when using `noqa` 1 S113 [ ] Probable use of requests call without timeout 1 B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access. 1 COM818 [ ] Trailing comma on bare tuple prohibited 1 C405 [*] Unnecessary `list` literal (rewrite as a `set` literal) 1 C414 [*] Unnecessary `list` call within `set()` 1 DTZ011 [ ] `datetime.date.today()` used 1 FA100 [ ] Add `from __future__ import annotations` to simplify `typing.Union` 1 PT014 [*] Duplicate of test case at index 1 in `@pytest_mark.parametrize` 1 PT020 [ ] `@pytest.yield_fixture` is deprecated, use `@pytest.fixture` 1 PT021 [ ] Use `yield` instead of `request.addfinalizer` 1 RET508 [ ] Unnecessary `elif` after `break` statement 1 SIM103 [*] Return the condition directly 1 SIM210 [*] Remove unnecessary `True if ... else False` 1 PTH117 [ ] `os.path.isabs()` should be replaced by `Path.is_absolute()` 1 E713 [*] Test for membership should be `not in` 1 D106 [ ] Missing docstring in public nested class 1 D411 [*] Missing blank line before section ("Parameters") 1 F541 [*] f-string without any placeholders 1 PLC0414 [*] Import alias does not rename original package 1 UP009 [*] UTF-8 encoding declaration is unnecessary 1 UP031 [*] Use format specifiers instead of percent format 1 TRY300 [ ] Consider moving this statement to an `else` block ```

Complete output(might be large):

```diff .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:28:46: W605 [*] Invalid escape sequence: `\,` .ci-helpers/update_credits.py:46:91: W291 Trailing whitespace .github/actions/setup_env/action.yml:1:1: E902 No such file or directory (os error 2) .github/actions/setup_lfs/action.yml:4:8: E999 SyntaxError: Expected an expression .github/workflows/benchmarks.yml:3:4: E999 SyntaxError: Expected an expression .github/workflows/benchmarks.yml:19:5: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:75:64: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:76:49: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:129:69: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:130:54: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:199:1: W293 [*] Blank line contains whitespace .github/workflows/benchmarks.yml:218:22: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:219:170: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:221:84: W291 [*] Trailing whitespace .github/workflows/benchmarks.yml:238:1: W293 [*] Blank line contains whitespace .github/workflows/build-docs.yml:7:4: E999 SyntaxError: Expected an expression .github/workflows/codespell.yml:1:1: E902 No such file or directory (os error 2) .github/workflows/codestyle.yml:7:4: E999 SyntaxError: Expected an expression .github/workflows/dispatcher.yml:2:4: E999 SyntaxError: Expected an expression .github/workflows/post-release.yml:7:4: E999 SyntaxError: Expected an expression .github/workflows/post-release.yml:124:37: W291 [*] Trailing whitespace .github/workflows/pre-release.yml:7:4: E999 SyntaxError: Expected an expression .github/workflows/pre-release.yml:96:37: W291 [*] Trailing whitespace .github/workflows/stardis-tests.yml:1:1: E902 No such file or directory (os error 2) .github/workflows/tardis-research-papers.yml:1:1: E902 No such file or directory (os error 2) .github/workflows/tests.yml:7:4: E999 SyntaxError: Expected an expression .github/workflows/tests.yml:15:1: W293 [*] Blank line contains whitespace .github/workflows/tests.yml:25:64: W291 [*] Trailing whitespace .github/workflows/tests.yml:63:1: W293 [*] Blank line contains whitespace .github/workflows/tests.yml:65:15: W291 [*] Trailing whitespace .github/workflows/tests.yml:69:1: W293 [*] Blank line contains whitespace .github/workflows/tests.yml:95:1: W293 [*] Blank line contains whitespace .github/workflows/tests.yml:109:1: W293 [*] Blank line contains whitespace .github/workflows/update-refdata.yml:7:4: E999 SyntaxError: Expected an expression .mailmap:1:38: E999 SyntaxError: Expected an expression .zenodo.json:1:1: B018 Found useless expression. Either assign it to a variable or remove it. .zenodo.json:351:2: W292 [*] No newline at end of file CHANGELOG.md:4:15: E999 SyntaxError: Expected ',', found ':' CITATION.cff:3:1: E999 SyntaxError: Invalid annotated assignment target README.rst:1:1: E999 SyntaxError: Expected a statement asv.conf.json:1:1: B018 Found useless expression. Either assign it to a variable or remove it. benchmarks/benchmark_base.py:38:9: ANN205 Missing return type annotation for staticmethod `get_relative_path` benchmarks/benchmark_base.py:79:9: RET506 Unnecessary `else` after `raise` statement benchmarks/benchmark_base.py:164:11: D106 Missing docstring in public nested class benchmarks/benchmark_base.py:221:9: ANN205 Missing return type annotation for staticmethod `regression_data` benchmarks/benchmark_base.py:349:9: RET505 Unnecessary `else` after `return` statement benchmarks/opacities_opacity.py:1:1: E902 No such file or directory (os error 2) benchmarks/opacities_opacity_state.py:1:1: E902 No such file or directory (os error 2) benchmarks/spectrum_formal_integral.py:1:1: E902 No such file or directory (os error 2) benchmarks/transport_geometry_calculate_distances.py:1:1: E902 No such file or directory (os error 2) benchmarks/transport_montecarlo_estimators_radfield_estimator_calcs.py:1:1: E902 No such file or directory (os error 2) benchmarks/transport_montecarlo_main_loop.py:1:1: E902 No such file or directory (os error 2) benchmarks/transport_montecarlo_numba_formal_integral_p.py:107:9: B018 Found useless attribute access. Either assign it to a variable or remove it. benchmarks/transport_montecarlo_packet_trackers.py:1:1: E902 No such file or directory (os error 2) benchmarks/transport_montecarlo_single_packet_loop.py:1:1: E902 No such file or directory (os error 2) benchmarks/util/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted benchmarks/util/base.py:1:40: F401 [*] `os.path.join` imported but unused benchmarks/util/base.py:2:27: F401 [*] `pathlib.PosixPath` imported but unused benchmarks/util/nlte.py:1:1: I001 [*] Import block is un-sorted or un-formatted docs/Makefile:5:16: E999 SyntaxError: Expected an expression docs/Makefile:22:1: W191 Indentation contains tabs docs/Makefile:23:1: W191 Indentation contains tabs docs/Makefile:24:1: W191 Indentation contains tabs docs/Makefile:25:1: W191 Indentation contains tabs docs/Makefile:26:1: W191 Indentation contains tabs docs/Makefile:27:1: W191 Indentation contains tabs docs/Makefile:28:1: W191 Indentation contains tabs docs/Makefile:29:1: W191 Indentation contains tabs docs/Makefile:30:1: W191 Indentation contains tabs docs/Makefile:31:1: W191 Indentation contains tabs docs/Makefile:32:1: W191 Indentation contains tabs docs/Makefile:33:1: W191 Indentation contains tabs docs/Makefile:34:1: W191 Indentation contains tabs docs/Makefile:35:1: W191 Indentation contains tabs docs/Makefile:36:1: W191 Indentation contains tabs docs/Makefile:37:1: W191 Indentation contains tabs docs/Makefile:40:1: W191 Indentation contains tabs docs/Makefile:41:1: W191 Indentation contains tabs docs/Makefile:42:1: W191 Indentation contains tabs docs/Makefile:45:1: W191 Indentation contains tabs docs/Makefile:46:1: W191 Indentation contains tabs docs/Makefile:47:1: W191 Indentation contains tabs docs/Makefile:50:1: W191 Indentation contains tabs docs/Makefile:51:1: W191 Indentation contains tabs docs/Makefile:52:1: W191 Indentation contains tabs docs/Makefile:55:1: W191 Indentation contains tabs docs/Makefile:56:1: W191 Indentation contains tabs docs/Makefile:57:1: W191 Indentation contains tabs docs/Makefile:60:1: W191 Indentation contains tabs docs/Makefile:61:1: W191 Indentation contains tabs docs/Makefile:62:1: W191 Indentation contains tabs docs/Makefile:65:1: W191 Indentation contains tabs docs/Makefile:66:1: W191 Indentation contains tabs docs/Makefile:67:1: W191 Indentation contains tabs docs/Makefile:70:1: W191 Indentation contains tabs docs/Makefile:71:1: W191 Indentation contains tabs docs/Makefile:72:1: W191 Indentation contains tabs docs/Makefile:73:1: W191 Indentation contains tabs docs/Makefile:73:1: E101 Indentation contains mixed spaces and tabs docs/Makefile:76:1: W191 Indentation contains tabs docs/Makefile:77:1: W191 Indentation contains tabs docs/Makefile:78:1: W191 Indentation contains tabs docs/Makefile:79:1: W191 Indentation contains tabs docs/Makefile:79:1: E101 Indentation contains mixed spaces and tabs docs/Makefile:80:1: W191 Indentation contains tabs docs/Makefile:81:1: W191 Indentation contains tabs docs/Makefile:82:1: W191 Indentation contains tabs docs/Makefile:85:1: W191 Indentation contains tabs docs/Makefile:86:1: W191 Indentation contains tabs docs/Makefile:87:1: W191 Indentation contains tabs docs/Makefile:88:1: W191 Indentation contains tabs docs/Makefile:89:1: W191 Indentation contains tabs docs/Makefile:90:1: W191 Indentation contains tabs docs/Makefile:91:1: W191 Indentation contains tabs docs/Makefile:94:1: W191 Indentation contains tabs docs/Makefile:95:1: W191 Indentation contains tabs docs/Makefile:96:1: W191 Indentation contains tabs docs/Makefile:99:1: W191 Indentation contains tabs docs/Makefile:100:1: W191 Indentation contains tabs docs/Makefile:101:1: W191 Indentation contains tabs docs/Makefile:102:1: W191 Indentation contains tabs docs/Makefile:103:1: W191 Indentation contains tabs docs/Makefile:103:1: E101 Indentation contains mixed spaces and tabs docs/Makefile:106:1: W191 Indentation contains tabs docs/Makefile:107:1: W191 Indentation contains tabs docs/Makefile:108:1: W191 Indentation contains tabs docs/Makefile:109:1: W191 Indentation contains tabs docs/Makefile:112:1: W191 Indentation contains tabs docs/Makefile:113:1: W191 Indentation contains tabs docs/Makefile:114:1: W191 Indentation contains tabs docs/Makefile:117:1: W191 Indentation contains tabs docs/Makefile:118:1: W191 Indentation contains tabs docs/Makefile:119:1: W191 Indentation contains tabs docs/Makefile:122:1: W191 Indentation contains tabs docs/Makefile:123:1: W191 Indentation contains tabs docs/Makefile:124:1: W191 Indentation contains tabs docs/Makefile:127:1: W191 Indentation contains tabs docs/Makefile:128:1: W191 Indentation contains tabs docs/Makefile:129:1: W191 Indentation contains tabs docs/Makefile:130:1: W191 Indentation contains tabs docs/Makefile:130:1: E101 Indentation contains mixed spaces and tabs docs/Makefile:133:1: W191 Indentation contains tabs docs/Makefile:134:1: W191 Indentation contains tabs docs/conf.py:1:1: UP009 [*] UTF-8 encoding declaration is unnecessary docs/conf.py:28:1: I001 [*] Import block is un-sorted or un-formatted docs/conf.py:31:8: F401 [*] `tardis` imported but unused docs/conf.py:37:43: PGH004 Use specific rule codes when using `noqa` docs/conf.py:47:6: UP015 [*] Unnecessary open mode parameters docs/conf.py:68:1: F405 `exclude_patterns` may be undefined, or defined from star imports docs/conf.py:69:1: F405 `exclude_patterns` may be undefined, or defined from star imports docs/conf.py:70:1: F405 `exclude_patterns` may be undefined, or defined from star imports 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:139:1: W293 Blank line contains whitespace docs/conf.py:174:1: W293 Blank line contains whitespace docs/conf.py:191:13: UP030 Use implicit references for positional format fields docs/conf.py:191:13: UP032 [*] Use f-string instead of `format` call docs/conf.py:218:1: E402 Module level import not at top of file docs/conf.py:284:4: E712 Avoid equality comparisons to `True`; use `if toml_config_tool_dict["tardis"]['edit_on_github']:` for truth checks docs/conf.py:345:1: E402 Module level import not at top of file docs/conf.py:360:10: UP015 [*] Unnecessary open mode parameters, use ""w"" docs/conf.py:375:10: UP015 [*] Unnecessary open mode parameters, use ""w"" docs/contributing/development/code_quality.rst:1:1: E999 SyntaxError: Expected an expression docs/contributing/development/continuous_integration.rst:1:1: E999 SyntaxError: Expected a statement docs/contributing/development/continuous_integration.rst:43:71: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:47:76: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:49:68: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:67:11: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:150:68: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:187:78: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:267:24: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:308:69: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:318:61: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:333:85: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:336:53: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:353:90: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:360:78: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:361:94: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:362:83: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:363:96: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:365:97: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:366:62: W291 [*] Trailing whitespace docs/contributing/development/continuous_integration.rst:373:90: W291 [*] Trailing whitespace docs/contributing/development/documentation_guidelines.rst:1:1: E999 SyntaxError: Expected a statement docs/contributing/development/documentation_guidelines.rst:44:1: W293 [*] Blank line contains whitespace docs/contributing/development/documentation_guidelines.rst:58:10: W291 [*] Trailing whitespace docs/contributing/development/git_workflow.rst:1:1: E999 SyntaxError: Expected a statement docs/contributing/development/running_tests.rst:1:1: E999 SyntaxError: Expected a statement docs/contributing/development/running_tests.rst:8:90: COM818 Trailing comma on bare tuple prohibited docs/contributing/development/running_tests.rst:41:42: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:64:112: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:65:124: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:69:92: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:70:107: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:76:102: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:78:116: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:80:124: W291 [*] Trailing whitespace docs/contributing/development/running_tests.rst:92:62: W291 [*] Trailing whitespace docs/contributing/development/update_refdata.rst:1:1: E999 SyntaxError: Expected a statement docs/contributing/development/update_refdata.rst:12:105: W291 [*] Trailing whitespace docs/contributing/tools/benchmark.ipynb:1:1: E902 No such file or directory (os error 2) docs/contributing/tools/index.rst:1:1: E999 SyntaxError: Expected an expression docs/installation.rst:1:1: E999 SyntaxError: Expected a statement docs/installation.rst:9:1: W293 [*] Blank line contains whitespace docs/installation.rst:10:84: W291 [*] Trailing whitespace docs/installation.rst:11:109: W291 [*] Trailing whitespace docs/installation.rst:14:116: W291 [*] Trailing whitespace docs/installation.rst:15:133: W291 [*] Trailing whitespace docs/installation.rst:27:67: W291 [*] Trailing whitespace docs/installation.rst:59:1: W293 [*] Blank line contains whitespace docs/installation.rst:66:19: W291 [*] Trailing whitespace docs/installation.rst:69:1: W293 [*] Blank line contains whitespace docs/installation.rst:86:102: W291 [*] Trailing whitespace docs/io/configuration/components/models/data/config_init_trad.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons docs/io/configuration/components/models/data/config_no_init_trad.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons docs/io/configuration/components/supernova.rst:1:1: E999 SyntaxError: Expected a statement docs/io/configuration/components/supernova.rst:13:266: W291 [*] Trailing whitespace docs/io/configuration/components/supernova.rst:16:1: W293 [*] Blank line contains 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/how_to_custom_source.ipynb:cell 3:3:33: F401 [*] `tardis.constants` imported but unused docs/io/optional/how_to_custom_source.ipynb:cell 5:26:9: D202 [*] No blank lines allowed after function docstring (found 1) docs/io/optional/how_to_custom_source.ipynb:cell 9:8:14: W605 [*] Invalid escape sequence: `\l` docs/io/optional/how_to_custom_source.ipynb:cell 9:8:23: W605 [*] Invalid escape sequence: `\A` docs/io/optional/how_to_custom_source.ipynb:cell 9:9:16: W605 [*] Invalid escape sequence: `\l` docs/io/optional/how_to_custom_source.ipynb:cell 9:9:33: W605 [*] Invalid escape sequence: `\A` docs/io/output/how_to_rpacket_tracking.ipynb:cell 12:1:62: W291 [*] Trailing whitespace docs/io/output/vpacket_logging.rst:1:1: E999 SyntaxError: Expected an expression docs/io/output/vpacket_logging.rst:5:117: W291 [*] Trailing whitespace docs/io/output/vpacket_logging.rst:19:1: W293 [*] Blank line contains whitespace docs/io/output/vpacket_logging.rst:48:54: W291 [*] Trailing whitespace docs/io/output/vpacket_logging.rst:53:55: W291 [*] Trailing whitespace docs/io/output/vpacket_logging.rst:58:57: W291 [*] Trailing whitespace docs/io/output/vpacket_logging.rst:59:50: W292 [*] No newline at end of file docs/io/visualization/how_to_liv_plot.ipynb:1:1: E902 No such file or directory (os error 2) docs/io/visualization/index.rst:1:1: E999 SyntaxError: Expected a statement docs/io/visualization/index.rst:32:68: W292 [*] No newline at end of file docs/io/visualization/using_widgets.rst:1:1: E999 SyntaxError: Expected an expression docs/io/visualization/using_widgets.rst:7:83: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:15:69: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:23:76: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:24:41: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:26:77: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:29:79: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:39:75: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:40:79: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:41:78: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:42:75: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:43:75: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:51:77: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:52:79: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:53:73: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:54:71: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:62:74: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:63:76: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:71:80: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:72:79: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:80:78: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:81:77: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:82:77: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:109:48: W291 [*] Trailing whitespace docs/io/visualization/using_widgets.rst:161:77: W291 [*] Trailing whitespace docs/physics/montecarlo/initialization.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted docs/physics/montecarlo/initialization.ipynb:cell 2:4:5: F401 [*] `tardis.transport.montecarlo.packet_collections.PacketCollection` imported but unused docs/physics/nlte/nlte_rates.ipynb:1:1: E902 No such file or directory (os error 2) docs/physics/plasma/construction_simple_plasma.ipynb:1:1: E902 No such file or directory (os error 2) docs/physics/pyplot/plot_mu_in_out_packet.py:1:1: F403 `from pylab import *` used; unable to detect undefined names docs/physics/pyplot/plot_mu_in_out_packet.py:1:1: I001 [*] Import block is un-sorted or un-formatted docs/physics/pyplot/plot_mu_in_out_packet.py:5:1: PLW0127 Self-assignment of variable `x` docs/physics/pyplot/plot_mu_in_out_packet.py:5:4: PLW0127 Self-assignment of variable `y` docs/physics/pyplot/plot_mu_in_out_packet.py:5:15: F405 `mgrid` may be undefined, or defined from star imports docs/physics/pyplot/plot_mu_in_out_packet.py:10:1: F405 `xlabel` may be undefined, or defined from star imports docs/physics/pyplot/plot_mu_in_out_packet.py:10:10: W605 [*] Invalid escape sequence: `\m` docs/physics/pyplot/plot_mu_in_out_packet.py:11:1: F405 `ylabel` may be undefined, or defined from star imports docs/physics/pyplot/plot_mu_in_out_packet.py:11:10: W605 [*] Invalid escape sequence: `\m` docs/physics/pyplot/plot_mu_in_out_packet.py:12:1: F405 `imshow` may be undefined, or defined from star imports docs/physics/pyplot/plot_mu_in_out_packet.py:12:8: F405 `np` may be undefined, or defined from star imports docs/physics/pyplot/plot_mu_in_out_packet.py:13:1: F405 `colorbar` may be undefined, or defined from star imports docs/physics/pyplot/plot_mu_in_out_packet.py:14:1: F405 `show` may be undefined, or defined from star imports docs/physics/setup/model.ipynb:cell 2:2:1: I001 [*] Import block is un-sorted or un-formatted docs/physics/setup/model.ipynb:cell 25:19:12: F541 [*] f-string without any placeholders docs/physics/spectrum/basic.ipynb:cell 3:1:1: I001 [*] Import block is un-sorted or un-formatted docs/physics/update_and_conv/update_and_conv.ipynb:cell 7:1:1: I001 [*] Import block is un-sorted or un-formatted docs/physics/update_and_conv/update_and_conv.ipynb:cell 18:1:69: W291 [*] Trailing whitespace docs/physics/update_and_conv/update_and_conv.ipynb:cell 26:1:50: W291 [*] Trailing whitespace docs/quickstart.ipynb:cell 12:1:39: W291 [*] Trailing whitespace docs/quickstart.ipynb:cell 12:5:35: W291 [*] Trailing whitespace docs/quickstart.ipynb:cell 16:10:26: W605 [*] Invalid escape sequence: `\A` docs/quickstart.ipynb:cell 16:11:40: W605 [*] Invalid escape sequence: `\A` docs/resources/code_comparison/plasma_compare/tardis_example.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons docs/resources/credits.rst:1:1: E999 SyntaxError: Expected a statement docs/resources/research_done_using_TARDIS/ads.ipynb:cell 2:1:1: I001 [*] Import block is un-sorted or un-formatted docs/resources/research_done_using_TARDIS/ads.ipynb:cell 4:5:15: UP032 [*] Use f-string instead of `format` call docs/resources/research_done_using_TARDIS/ads.ipynb:cell 4:12:31: UP032 [*] Use f-string instead of `format` call docs/resources/research_done_using_TARDIS/ads.ipynb:cell 6:2:5: D209 [*] Multi-line docstring closing quotes should be on a separate line docs/resources/research_done_using_TARDIS/ads.ipynb:cell 6:3:110: W291 Trailing whitespace docs/resources/research_done_using_TARDIS/ads.ipynb:cell 7:7:77: W605 [*] Invalid escape sequence: `\ ` docs/resources/research_done_using_TARDIS/ads.ipynb:cell 8:4:28: UP032 [*] Use f-string instead of `format` call docs/resources/research_done_using_TARDIS/ads.ipynb:cell 8:5:34: UP032 [*] Use f-string instead of `format` call docs/resources/research_done_using_TARDIS/ads.ipynb:cell 8:6:1: W293 Blank line contains whitespace docs/resources/research_done_using_TARDIS/ads.ipynb:cell 10:1:101: W291 [*] Trailing whitespace docs/working_gamma_ray_test.ipynb:cell 1:2:1: I001 [*] Import block is un-sorted or un-formatted docs/working_gamma_ray_test.ipynb:cell 1:3:18: F401 [*] `pandas` imported but unused docs/working_gamma_ray_test.ipynb:cell 2:2:1: I001 [*] Import block is un-sorted or un-formatted docs/working_gamma_ray_test.ipynb:cell 7:5:70: W291 [*] Trailing whitespace docs/working_gamma_ray_test.ipynb:cell 9:3:108: W291 [*] Trailing whitespace docs/working_gamma_ray_test.ipynb:cell 9:4:99: W291 [*] Trailing whitespace docs/working_gamma_ray_test.ipynb:cell 9:6:78: W291 [*] Trailing whitespace docs/working_gamma_ray_test.ipynb:cell 11:14:64: W291 [*] Trailing whitespace setup.py:7:1: I001 [*] Import block is un-sorted or un-formatted tardis/analysis.py:96:9: E722 Do not use bare `except` tardis/analysis.py:110:9: E722 Do not use bare `except` tardis/analysis.py:121:9: E722 Do not use bare `except` tardis/analysis.py:136:9: E722 Do not use bare `except` tardis/analysis.py:374:9: RET505 Unnecessary `else` after `return` statement tardis/analysis.py:396:9: RET505 Unnecessary `else` after `return` statement tardis/analysis.py:421: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/analysis/opacities.py:1:1: D209 [*] Multi-line docstring closing quotes should be on a separate line tardis/analysis/opacities.py:3:1: I001 [*] Import block is un-sorted or un-formatted tardis/analysis/opacities.py:12:26: UP004 [*] Class `opacity_calculator` inherits from `object` tardis/analysis/opacities.py:225:9: D209 [*] Multi-line docstring closing quotes should be on a separate line tardis/analysis/opacities.py:274:9: D209 [*] Multi-line docstring closing quotes should be on a separate line tardis/analysis/opacities.py:282:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/analysis/opacities.py:288:29: W605 [*] Invalid escape sequence: `\D` tardis/analysis/opacities.py:289:9: W605 [*] Invalid escape sequence: `\[` tardis/analysis/opacities.py:290:11: W605 [*] Invalid escape sequence: `\c` tardis/analysis/opacities.py:290:17: W605 [*] Invalid escape sequence: `\m` tardis/analysis/opacities.py:290:44: W605 [*] Invalid escape sequence: `\D` tardis/analysis/opacities.py:290:70: W605 [*] Invalid escape sequence: `\s` tardis/analysis/opacities.py:291:11: W605 [*] Invalid escape sequence: `\l` tardis/analysis/opacities.py:291:21: W605 [*] Invalid escape sequence: `\e` tardis/analysis/opacities.py:291:33: W605 [*] Invalid escape sequence: `\m` tardis/analysis/opacities.py:292:9: W605 [*] Invalid escape sequence: `\]` tardis/analysis/opacities.py:329:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/analysis/opacities.py:331:9: W605 [*] Invalid escape sequence: `\[` tardis/analysis/opacities.py:332:11: W605 [*] Invalid escape sequence: `\c` tardis/analysis/opacities.py:332:17: W605 [*] Invalid escape sequence: `\m` tardis/analysis/opacities.py:332:40: W605 [*] Invalid escape sequence: `\m` tardis/analysis/opacities.py:332:52: W605 [*] Invalid escape sequence: `\s` tardis/analysis/opacities.py:332:60: W605 [*] Invalid escape sequence: `\m` tardis/analysis/opacities.py:333:9: W605 [*] Invalid escape sequence: `\]` tardis/analysis/opacities.py:360:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/analysis/opacities.py:388:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/conftest.py:11:1: F403 `from tardis.tests.fixtures.atom_data import *` used; unable to detect undefined names tardis/conftest.py:29:49: PGH004 Use specific rule codes when using `noqa` tardis/conftest.py:31:9: F821 Undefined name `pytest_report_header` tardis/conftest.py:144:5: RET505 Unnecessary `else` after `return` statement tardis/conftest.py:168:1: PT020 `@pytest.yield_fixture` is deprecated, use `@pytest.fixture` tardis/conftest.py:231:19: F405 `deepcopy` may be undefined, or defined from star imports tardis/conftest.py:239:19: F405 `deepcopy` may be undefined, or defined from star imports tardis/energy_input/docs/working_gamma_ray_test.ipynb:1:1: E902 No such file or directory (os error 2) 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:12:5: F401 [*] `tardis.energy_input.gamma_ray_channel.calculate_total_decays` imported but unused tardis/energy_input/main_gamma_ray_loop.py:13:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_inventories_dict` imported but unused tardis/energy_input/main_gamma_ray_loop.py:14:5: F401 [*] `tardis.energy_input.gamma_ray_channel.create_isotope_dicts` imported but unused tardis/energy_input/main_gamma_ray_loop.py:152:17: G004 Logging statement uses f-string tardis/energy_input/main_gamma_ray_loop.py:156:17: G004 Logging statement uses f-string tardis/energy_input/main_gamma_ray_loop.py:158:17: G004 Logging statement uses f-string tardis/energy_input/main_gamma_ray_loop.py:213:17: G004 Logging statement uses f-string tardis/energy_input/main_gamma_ray_loop.py:214:17: G004 Logging statement uses f-string tardis/gui/tests/test_gui.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/gui/tests/test_gui.py:5:25: F401 [*] `astropy.units` imported but unused tardis/gui/tests/test_gui.py:8:1: I001 [*] Import block is un-sorted or un-formatted tardis/io/atom_data/base.py:171:22: C408 Unnecessary `dict` call (rewrite as a literal) tardis/io/atom_data/base.py:172:24: C408 Unnecessary `list` call (rewrite as a literal) tardis/io/atom_data/base.py:181:34: G004 Logging statement uses f-string tardis/io/atom_data/base.py:259:17: G004 Logging statement uses f-string tardis/io/atom_data/base.py:263:21: UP030 Use implicit references for positional format fields tardis/io/atom_data/base.py:263:21: G001 Logging statement uses `str.format` tardis/io/atom_data/collision_data.py:1:1: E902 No such file or directory (os error 2) tardis/io/atom_data/macro_atom_data.py:1:1: E902 No such file or directory (os error 2) tardis/io/atom_data/nlte_data.py:1:1: E902 No such file or directory (os error 2) tardis/io/configuration/tests/data/tardis_configv1_density_exponential_nebular_Ni_only.yml:1:1: E902 No such file or directory (os error 2) 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_reader.py:2:1: I001 [*] Import block is un-sorted or un-formatted tardis/io/configuration/tests/test_config_reader.py:2:8: F401 [*] `os` imported but unused tardis/io/configuration/tests/test_config_reader.py:3:18: F401 [*] `attr.validate` imported but unused tardis/io/logger/colored_logger.py:1:1: E902 No such file or directory (os error 2) tardis/io/logger/logger.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/io/logger/logger.py:16:29: W291 [*] Trailing whitespace tardis/io/logger/logger.py:18:26: W291 [*] Trailing whitespace tardis/io/logger/logger.py:20:27: W291 [*] Trailing whitespace tardis/io/logger/logger.py:21:23: W291 [*] Trailing whitespace tardis/io/logger/logger.py:125:1: W293 [*] Blank line contains whitespace tardis/io/logger/logger.py:146:5: D204 [*] 1 blank line required after class docstring tardis/io/logger/logger.py:211:17: UP004 [*] Class `FilterLog` inherits from `object` tardis/io/logger/logger.py:212:5: D204 [*] 1 blank line required after class docstring tardis/io/logger/logger.py:238:1: W293 [*] Blank line contains whitespace tardis/io/logger/logger.py:238:5: W292 [*] No newline at end of file tardis/io/model/parse_atom_data.py:1:1: E902 No such file or directory (os error 2) tardis/io/model/parse_radiation_field_configuration.py:2:8: F401 [*] `os` imported but unused tardis/io/model/parse_radiation_field_configuration.py:123:13: G004 Logging statement uses f-string tardis/io/model/parse_simulation_state.py:1:1: E902 No such file or directory (os error 2) tardis/io/model/readers/blondin_toymodel.py:31:10: UP015 [*] Unnecessary open mode parameters tardis/io/model/readers/blondin_toymodel.py:94:10: UP015 [*] Unnecessary open mode parameters tardis/io/model/readers/csvy.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/io/model/readers/csvy.py:100:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/io/model/readers/tests/data/csvy_test_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons 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_arepo_parser.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/io/model/readers/tests/test_arepo_parser.py:16:10: UP015 [*] Unnecessary open mode parameters tardis/io/model/readers/tests/test_arepo_parser.py:48:10: UP015 [*] Unnecessary open mode parameters tardis/io/model/readers/tests/test_arepo_parser.py:59:10: UP015 [*] Unnecessary open mode parameters tardis/io/model/readers/tests/test_arepo_parser.py:89:10: UP015 [*] Unnecessary open mode parameters tardis/io/model/readers/tests/test_arepo_parser.py:99:10: UP015 [*] Unnecessary open mode parameters tardis/io/model/readers/tests/test_arepo_parser.py:109:10: UP015 [*] Unnecessary open mode parameters tardis/io/tests/test_decay.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/model/base.py:339:12: PTH117 `os.path.isabs()` should be replaced by `Path.is_absolute()` tardis/model/base.py:352:27: C403 Unnecessary `list` comprehension (rewrite as a `set` comprehension) tardis/model/base.py:365:27: C403 Unnecessary `list` comprehension (rewrite as a `set` comprehension) tardis/model/base.py:376:21: G004 Logging statement uses f-string tardis/model/matter/decay.py:20:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/model/matter/decay.py:28:28: C408 Unnecessary `dict` call (rewrite as a literal) tardis/model/matter/decay.py:36:30: C405 Unnecessary `list` literal (rewrite as a `set` literal) tardis/model/matter/decay.py:71:23: C408 Unnecessary `dict` call (rewrite as a literal) tardis/model/matter/decay.py:101:21: G004 Logging statement uses f-string tardis/model/matter/decay.py:104:17: G004 Logging statement uses f-string tardis/model/radiation_field_state.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/model/radiation_field_state.py:54:44: FA100 Add `from __future__ import annotations` to simplify `typing.Union` tardis/model/tests/data/branch85_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/branch85_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/csvy_model_to_test_abundances.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/exponential_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/exponential_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/model_full_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/model_full_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/powerlaw_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/powerlaw_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/radiative_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/radiative_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/uniform_csvy.yml:1:69: W291 [*] Trailing whitespace tardis/model/tests/data/uniform_csvy.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/model/tests/data/uniform_old_config.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/opacities/continuum/bound_free.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/continuum/continuum_state.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/macro_atom/base.py:22:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/opacities/macro_atom/base.py:133:9: E722 Do not use bare `except` tardis/opacities/macro_atom/continuum_processes/collisional_ion_trans_prob.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/macro_atom/macroatom_solver.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/macro_atom/macroatom_state.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/opacity_solver.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/tests/conftest.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/tests/test_opacity_solver.py:1:1: E902 No such file or directory (os error 2) tardis/opacities/tests/test_opacity_state_numba.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/assembly/__init__.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/assembly/base.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/assembly/legacy_assembly.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/plasma/base.py:1:8: F401 [*] `os` imported but unused tardis/plasma/base.py:10:1: F403 `from tardis.plasma.properties.base import *` used; unable to detect undefined names tardis/plasma/base.py:33:9: RET505 Unnecessary `else` after `return` statement tardis/plasma/base.py:34:18: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/base.py:41:9: RET506 Unnecessary `else` after `raise` statement tardis/plasma/base.py:42:18: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/base.py:60:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/plasma/base.py:100:17: E722 Do not use bare `except` tardis/plasma/base.py:133:44: F405 `PreviousIterationProperty` may be undefined, or defined from star imports tardis/plasma/base.py:142:46: F405 `Input` may be undefined, or defined from star imports tardis/plasma/base.py:203:21: UP030 Use implicit references for positional format fields tardis/plasma/base.py:203:21: UP032 [*] Use f-string instead of `format` call tardis/plasma/base.py:227:21: UP030 Use implicit references for positional format fields tardis/plasma/base.py:227:21: UP032 [*] Use f-string instead of `format` call tardis/plasma/base.py:237:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/plasma/base.py:265:13: G004 Logging statement uses f-string tardis/plasma/base.py:272:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/plasma/base.py:289:20: F401 [*] `pygraphviz` imported but unused tardis/plasma/base.py:290:9: E722 Do not use bare `except` tardis/plasma/base.py:291:20: G010 [*] Logging statement uses `warn` instead of `warning` tardis/plasma/base.py:299:16: E712 Avoid equality comparisons to `True`; use `if latex_label:` for truth checks tardis/plasma/base.py:306:41: PIE808 [*] Unnecessary `start` argument in `range` tardis/plasma/base.py:320:16: E712 Avoid equality comparisons to `True`; use `if latex_label:` for truth checks tardis/plasma/base.py:326:16: E712 Avoid equality comparisons to `True`; use `if latex_label:` for truth checks tardis/plasma/base.py:344:18: UP015 [*] Unnecessary open mode parameters tardis/plasma/base.py:376:9: E722 Do not use bare `except` tardis/plasma/base.py:377:20: G010 [*] Logging statement uses `warn` instead of `warning` tardis/plasma/base.py:386:14: UP015 [*] Unnecessary open mode parameters tardis/plasma/base.py:422:35: F405 `HiddenPlasmaProperty` may be undefined, or defined from star imports tardis/plasma/base.py:440:29: E722 Do not use bare `except` 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.j_blues import *` used; unable to detect undefined names tardis/plasma/properties/__init__.py:15:1: F403 `from tardis.plasma.properties.level_population import *` used; unable to detect undefined names tardis/plasma/properties/__init__.py:16:1: F403 `from tardis.plasma.properties.nlte import *` used; unable to detect undefined names tardis/plasma/properties/__init__.py:17:1: F403 `from tardis.plasma.properties.nlte_rate_equation_solver import *` used; unable to detect undefined names tardis/plasma/properties/__init__.py:18:1: F403 `from tardis.plasma.properties.partition_function import *` used; unable to detect undefined names tardis/plasma/properties/__init__.py:19:1: F403 `from tardis.plasma.properties.plasma_input import *` used; unable to detect undefined names tardis/plasma/properties/__init__.py:20:1: F403 `from tardis.plasma.properties.radiative_properties import *` used; unable to detect undefined names tardis/plasma/properties/__init__.py:21:1: F403 `from tardis.plasma.properties.rate_matrix_index import *` used; unable to detect undefined names tardis/plasma/properties/atomic.py:6:28: F401 [*] `radioactivedecay` imported but unused tardis/plasma/properties/atomic.py:11:33: F401 [*] `tardis.constants` imported but unused tardis/plasma/properties/atomic.py:379:17: UP032 [*] Use f-string instead of `format` call tardis/plasma/properties/atomic.py:558:9: RET505 Unnecessary `else` after `return` statement tardis/plasma/properties/atomic.py:589:9: RET505 Unnecessary `else` after `return` statement tardis/plasma/properties/atomic.py:602:17: G004 Logging statement uses f-string tardis/plasma/properties/atomic.py:643:9: RET505 Unnecessary `else` after `return` statement tardis/plasma/properties/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/plasma/properties/base.py:22:26: UP004 [*] Class `BasePlasmaProperty` inherits from `object` tardis/plasma/properties/base.py:78:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/base.py:117:25: UP032 [*] Use f-string instead of `format` call tardis/plasma/properties/base.py:117:25: G001 Logging statement uses `str.format` tardis/plasma/properties/base.py:135:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/base.py:162:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/base.py:177:9: RET505 Unnecessary `else` after `return` statement tardis/plasma/properties/continuum_processes.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/plasma/properties/continuum_processes/__init__.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/properties/continuum_processes/fast_array_util.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/properties/continuum_processes/photo_ion_rate_coeff.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/properties/continuum_processes/recomb_rate_coeff.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/properties/general.py:35:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/general.py:76:21: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/general.py:120:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/ion_population.py:204:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/ion_population.py:287:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/ion_population.py:366:25: G004 Logging statement uses f-string tardis/plasma/properties/ion_population.py:420:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/ion_population.py:487:25: G004 Logging statement uses f-string tardis/plasma/properties/j_blues.py:50:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/j_blues.py:59:9: RET505 Unnecessary `else` after `return` statement tardis/plasma/properties/nlte.py:2:8: F401 [*] `os` imported but unused tardis/plasma/properties/nlte.py:4:17: F401 [*] `numpy` imported but unused tardis/plasma/properties/nlte.py:10:53: F401 [*] `tardis.plasma.properties.ion_population.PhiSahaNebular` imported but unused tardis/plasma/properties/property_collections.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/plasma/properties/property_collections.py:5:1: F403 `from tardis.plasma.properties import *` used; unable to detect undefined names tardis/plasma/properties/property_collections.py:15:9: F405 `TRadiative` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:16:9: F405 `Abundance` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:17:9: F405 `NumberDensity` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:18:9: F405 `TimeExplosion` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:19:9: F405 `AtomicData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:20:9: F405 `DilutionFactor` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:21:9: F405 `LinkTRadTElectron` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:22:9: F405 `HeliumTreatment` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:23:9: F405 `ContinuumInteractionSpecies` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:24:9: F405 `NLTEIonizationSpecies` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:25:9: F405 `NLTEExcitationSpecies` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:30:9: F405 `BetaRadiation` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:31:9: F405 `Levels` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:32:9: F405 `Lines` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:33:9: F405 `PartitionFunction` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:34:9: F405 `GElectron` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:35:9: F405 `IonizationData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:36:9: F405 `LinesLowerLevelIndex` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:37:9: F405 `LinesUpperLevelIndex` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:39:9: F405 `StimulatedEmissionFactor` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:40:9: F405 `SelectedAtoms` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:41:9: F405 `ElectronTemperature` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:44:55: F405 `PhiSahaLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:45:55: F405 `LevelBoltzmannFactorLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:47:6: F405 `BetaSobolev` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:47:44: F405 `MacroAtomData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:50:6: F405 `PhiSahaNebular` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:50:22: F405 `ZetaData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:50:32: F405 `BetaElectron` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:50:46: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:53:6: F405 `LevelBoltzmannFactorDiluteLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:55:49: F405 `LevelBoltzmannFactorNoNLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:58:9: F405 `LevelBoltzmannFactorNLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:59:9: F405 `NLTEData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:60:9: F405 `PreviousElectronDensities` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:61:9: F405 `PreviousBetaSobolev` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:62:9: F405 `BetaSobolev` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:66:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:66:23: F405 `NLTEPopulationSolverRoot` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:69:6: F405 `NLTEIndexHelper` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:69:23: F405 `NLTEPopulationSolverLU` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:73:9: F405 `HeliumNLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:74:9: F405 `RadiationFieldCorrection` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:75:9: F405 `ZetaData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:76:9: F405 `BetaElectron` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:77:9: F405 `LevelNumberDensityHeNLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:78:9: F405 `IonNumberDensityHeNLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:82:6: F405 `LevelNumberDensity` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:82:26: F405 `IonNumberDensity` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:85:6: F405 `HeliumNumericalNLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:88:6: F405 `JBluesEstimator` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:88:23: F405 `RInner` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:88:31: F405 `TInner` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:88:39: F405 `Volume` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:91:6: F405 `JBluesDetailed` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:91:22: F405 `JBluesNormFactor` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:91:40: F405 `LuminosityInner` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:91:57: F405 `TimeSimulation` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:95:9: F405 `StimRecombRateCoeffEstimator` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:96:9: F405 `PhotoIonRateCoeffEstimator` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:97:9: F405 `RInner` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:98:9: F405 `TInner` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:99:9: F405 `Volume` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:100:9: F405 `BfHeatingRateCoeffEstimator` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:101:9: F405 `StimRecombCoolingRateCoeffEstimator` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:102:9: F405 `YgData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:107:9: F405 `PhotoIonizationData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:108:9: F405 `SpontRecombRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:109:9: F405 `PhotoIonRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:110:9: F405 `ThermalLevelBoltzmannFactorLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:111:9: F405 `ThermalLTEPartitionFunction` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:112:9: F405 `BetaElectron` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:113:9: F405 `ThermalGElectron` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:114:9: F405 `ThermalPhiSahaLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:115:9: F405 `SahaFactor` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:116:9: F405 `TimeSimulation` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:117:9: F405 `PhotoIonEstimatorsNormFactor` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:118:9: F405 `LuminosityInner` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:119:9: F405 `StimRecombRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:120:9: F405 `CorrPhotoIonRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:121:9: F405 `SpontRecombCoolingRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:122:9: F405 `RawRecombTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:123:9: F405 `RawPhotoIonTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:124:9: F405 `RawRadBoundBoundTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:125:9: F405 `MarkovChainTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:126:9: F405 `NonContinuumTransProbsMask` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:127:9: F405 `YgInterpolator` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:128:9: F405 `CollExcRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:129:9: F405 `CollDeexcRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:130:9: F405 `RawCollisionTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:131:9: F405 `MarkovChainIndex` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:132:9: F405 `MarkovChainTransProbsCollector` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:134:9: F405 `MonteCarloTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:135:9: F405 `FreeFreeCoolingRate` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:136:9: F405 `FreeBoundCoolingRate` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:137:9: F405 `BoundFreeOpacity` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:138:9: F405 `LevelNumberDensityLTE` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:139:9: F405 `PhotoIonBoltzmannFactor` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:140:9: F405 `FreeBoundEmissionCDF` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:141:9: F405 `LevelIdxs2LineIdx` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:142:9: F405 `LevelIdxs2TransitionIdx` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:143:9: F405 `CollIonRateCoeffSeaton` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:144:9: F405 `CollRecombRateCoeff` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:145:9: F405 `RawCollIonTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:146:9: F405 `ContinuumInteractionHandler` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:147:9: F405 `BetaSobolev` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:150:58: F405 `AdiabaticCoolingRate` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:153:9: F405 `RawTwoPhotonTransProbs` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:154:9: F405 `TwoPhotonData` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:155:9: F405 `TwoPhotonEmissionCDF` may be undefined, or defined from star imports tardis/plasma/properties/property_collections.py:156:9: F405 `TwoPhotonFrequencySampler` may be undefined, or defined from star imports tardis/plasma/properties/radiative_properties.py:40:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/properties/radiative_properties.py:176:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/plasma/radiation_field/__init__.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/radiation_field/planck_rad_field.py:1:1: E902 No such file or directory (os error 2) tardis/plasma/standard_plasmas.py:286:9: RET506 Unnecessary `else` after `raise` statement tardis/plasma/tests/data/config_init_trad.yml:2:26: E999 SyntaxError: Simple statements must be separated by newlines or semicolons tardis/plasma/tests/test_complete_plasmas.py:147:27: FLY002 Consider `f"{hash_string}_{prop}"` instead of string join tardis/plasma/tests/test_complete_plasmas.py:152:39: FLY002 Consider `f"{hash_string}_{nlte_prop}"` instead of string join tardis/plasma/tests/test_nlte_solver.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/plasma/tests/test_nlte_solver.py:5:25: F811 [*] Redefinition of unused `npt` from line 2 tardis/radiation_field/opacities/__init__.py:1:1: F403 `from tardis.radiation_field.opacities.base import *` used; unable to detect undefined names tardis/simulation/base.py:9:29: F401 [*] `IPython.display.display` imported but unused tardis/simulation/base.py:139:14: UP008 Use `super()` instead of `super(__class__, self)` tardis/simulation/base.py:180:13: RET506 Unnecessary `else` after `raise` statement tardis/simulation/base.py:246:17: G004 Logging statement uses f-string tardis/simulation/base.py:253:9: RET505 Unnecessary `else` after `return` statement tardis/simulation/base.py:372:13: G004 Logging statement uses f-string tardis/simulation/base.py:450:13: G004 Logging statement uses f-string tardis/simulation/base.py:519:1: W293 [*] Blank line contains whitespace tardis/simulation/base.py:528:21: G004 Logging statement uses f-string tardis/simulation/base.py:531:13: G004 Logging statement uses f-string tardis/simulation/base.py:536:13: G004 Logging statement uses f-string tardis/simulation/base.py:587:13: TRY300 Consider moving this statement to an `else` block tardis/simulation/base.py:589:26: G004 Logging statement uses f-string tardis/simulation/base.py:637:25: 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:1:8: F401 [*] `os` imported but unused tardis/simulation/tests/test_simulation.py:6:8: F401 [*] `logging` imported but unused tardis/simulation/tests/test_simulation.py:10:20: F401 [*] `tardis.run_tardis` imported but unused tardis/simulation/tests/test_simulation.py:50:5: RET505 Unnecessary `else` after `return` statement tardis/spectrum.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/spectrum.py:40:36: W605 [*] Invalid escape sequence: `\ ` tardis/spectrum.py:40:44: W605 [*] Invalid escape sequence: `\ ` tardis/spectrum.py:42:17: W605 [*] Invalid escape sequence: `\ ` tardis/spectrum.py:42:25: W605 [*] Invalid escape sequence: `\ ` tardis/spectrum/__init__.py:1:1: E902 No such file or directory (os error 2) tardis/spectrum/base.py:1:1: E902 No such file or directory (os error 2) tardis/spectrum/luminosity.py:1:1: E902 No such file or directory (os error 2) tardis/spectrum/tests/__init__.py:1:1: E902 No such file or directory (os error 2) tardis/spectrum/tests/conftest.py:1:1: E902 No such file or directory (os error 2) tardis/spectrum/tests/test_luminosity.py:1:1: E902 No such file or directory (os error 2) tardis/spectrum/tests/test_spectrum_solver.py:1:1: E902 No such file or directory (os error 2) tardis/tests/fixtures/atom_data.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/tests/fixtures/atom_data.py:2:21: F401 [*] `pathlib.Path` imported but unused tardis/tests/test_spectrum.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/tests/test_tardis_full_formal_integral.py:61:9: RET505 Unnecessary `else` after `return` statement tardis/transport/frame_transformations.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/frame_transformations.py:19:5: RET505 Unnecessary `else` after `return` statement tardis/transport/frame_transformations.py:49:5: RET505 Unnecessary `else` after `return` statement tardis/transport/geometry/calculate_distances.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/geometry/calculate_distances.py:18:5: F401 [*] `tardis.transport.montecarlo.r_packet.print_r_packet_properties` imported but unused tardis/transport/geometry/calculate_distances.py:24:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/geometry/calculate_distances.py:73:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/__init__.py:2:39: W291 Trailing whitespace tardis/transport/montecarlo/__init__.py:6:69: W291 Trailing whitespace 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:24:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/__init__.py:24:50: F401 `tardis.transport.montecarlo.r_packet.RPacket` imported but unused; consider removing, adding to `__all__`, or using a redundant alias tardis/transport/montecarlo/__init__.py:25:1: E402 Module level import not at top of file tardis/transport/montecarlo/__init__.py:26:5: F401 `tardis.transport.montecarlo.montecarlo_main_loop.montecarlo_main_loop` imported but unused; consider removing, adding to `__all__`, or using a redundant alias tardis/transport/montecarlo/__init__.py:28:1: E402 Module level import not at top of file tardis/transport/montecarlo/__init__.py:29:5: F401 `tardis.transport.montecarlo.packet_collections.PacketCollection` imported but unused; consider removing, adding to `__all__`, or using a redundant alias tardis/transport/montecarlo/configuration/__init__.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/configuration/montecarlo_globals.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/estimators/base.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/estimators/continuum_radfield_properties.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/estimators/mc_rad_field_solver.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/estimators/radfield_estimator_calcs.py:1:1: I001 [*] Import block is un-sorted or un-formatted 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:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/estimators/tests/test_continuum_property_solver.py:3:25: F401 [*] `numpy.testing` imported but unused tardis/transport/montecarlo/estimators/tests/test_continuum_property_solver.py:5:8: F401 [*] `pytest` imported but unused tardis/transport/montecarlo/formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/formal_integral.py:9:25: F401 [*] `numba.char` imported but unused tardis/transport/montecarlo/formal_integral.py:9:31: F401 [*] `numba.float64` imported but unused tardis/transport/montecarlo/formal_integral.py:9:40: F401 [*] `numba.int64` imported but unused tardis/transport/montecarlo/formal_integral.py:9:47: F401 [*] `numba.typeof` imported but unused tardis/transport/montecarlo/formal_integral.py:9:55: F401 [*] `numba.byte` imported but unused tardis/transport/montecarlo/formal_integral.py:10:32: F401 [*] `numba.experimental.jitclass` imported but unused tardis/transport/montecarlo/formal_integral.py:20:5: F811 Redefinition of unused `opacity_state_initialize` from line 15 tardis/transport/montecarlo/formal_integral.py:21:5: F811 Redefinition of unused `OpacityState` from line 14 tardis/transport/montecarlo/formal_integral.py:21:5: F401 [*] `tardis.transport.montecarlo.numba_interface.OpacityState` imported but unused tardis/transport/montecarlo/formal_integral.py:54:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/formal_integral.py:64:7: TD006 [*] Invalid TODO capitalization: `todo` should be `TODO` tardis/transport/montecarlo/formal_integral.py:217:29: UP004 [*] Class `NumbaFormalIntegrator` inherits from `object` tardis/transport/montecarlo/formal_integral.py:260:24: UP004 [*] Class `FormalIntegrator` inherits from `object` tardis/transport/montecarlo/formal_integral.py:299:9: D209 [*] Multi-line docstring closing quotes should be on a separate line tardis/transport/montecarlo/formal_integral.py:345:13: RET506 Unnecessary `else` after `raise` statement tardis/transport/montecarlo/formal_integral.py:357:16: E713 [*] Test for membership should be `not in` tardis/transport/montecarlo/formal_integral.py:616:9: D209 [*] Multi-line docstring closing quotes should be on a separate line tardis/transport/montecarlo/formal_integral.py:685:5: RET505 Unnecessary `else` after `return` statement tardis/transport/montecarlo/formal_integral.py:721:5: RET505 Unnecessary `else` after `return` statement tardis/transport/montecarlo/formal_integral_cuda.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/formal_integral_cuda.py:1:8: F401 [*] `sys` imported but unused tardis/transport/montecarlo/formal_integral_cuda.py:3:30: F401 [*] `astropy.units` imported but unused tardis/transport/montecarlo/formal_integral_cuda.py:4:19: F401 [*] `numba.float64` imported but unused tardis/transport/montecarlo/formal_integral_cuda.py:4:28: F401 [*] `numba.int64` imported but unused tardis/transport/montecarlo/formal_integral_cuda.py:37:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/formal_integral_cuda.py:69:7: TD006 [*] Invalid TODO capitalization: `todo` should be `TODO` tardis/transport/montecarlo/formal_integral_cuda.py:213:28: UP004 [*] Class `CudaFormalIntegrator` inherits from `object` tardis/transport/montecarlo/formal_integral_cuda.py:324:5: RET505 Unnecessary `else` after `return` statement tardis/transport/montecarlo/formal_integral_cuda.py:369:5: RET505 Unnecessary `else` after `return` statement tardis/transport/montecarlo/formal_integral_cuda.py:379:5: PIE790 [*] Unnecessary `pass` statement tardis/transport/montecarlo/formal_integral_cuda.py:459:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/formal_integral_cuda.py:501:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/interaction.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/montecarlo_configuration.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/montecarlo_configuration.py:32:31: UP004 [*] Class `MonteCarloConfiguration` inherits from `object` tardis/transport/montecarlo/montecarlo_main_loop.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/montecarlo_transport_state.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/numba_interface.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/numba_interface.py:40:20: UP004 [*] Class `OpacityState` inherits from `object` tardis/transport/montecarlo/numba_interface.py:66:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/numba_interface.py:122:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/packet_source.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/packet_source.py:228:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/transport/montecarlo/packet_source.py:229:50: W605 [*] Invalid escape sequence: `\m` tardis/transport/montecarlo/packet_source.py:230:47: W605 [*] Invalid escape sequence: `\i` tardis/transport/montecarlo/packet_source.py:246:9: RET505 Unnecessary `else` after `return` statement tardis/transport/montecarlo/packet_source.py:270:9: D412 [*] No blank lines allowed between a section header and its content ("Parameters") tardis/transport/montecarlo/packet_source.py:343:50: W605 [*] Invalid escape sequence: `\m` tardis/transport/montecarlo/packet_source.py:343:54: W605 [*] Invalid escape sequence: `\p` tardis/transport/montecarlo/packet_trackers.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/packet_trackers.py:22:22: UP004 [*] Class `RPacketTracker` inherits from `object` tardis/transport/montecarlo/packet_trackers.py:25:5: D411 [*] Missing blank line before section ("Parameters") tardis/transport/montecarlo/packet_trackers.py:152:48: B009 [*] Do not call `getattr` with a constant attribute value. It is not any safer than normal property access. tardis/transport/montecarlo/r_packet.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/r_packet.py:4:18: F401 [*] `pandas` imported but unused tardis/transport/montecarlo/r_packet.py:14:57: F401 [*] `tardis.transport.montecarlo.numba_config` imported but unused tardis/transport/montecarlo/r_packet.py:15:41: F811 [*] Redefinition of unused `njit_dict_no_parallel` from line 9 tardis/transport/montecarlo/r_packet.py:51:15: UP004 [*] Class `RPacket` inherits from `object` 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/single_packet_loop.py:26:5: F811 [*] Redefinition of unused `get_doppler_factor` from line 9 tardis/transport/montecarlo/single_packet_loop.py:27:5: F811 [*] Redefinition of unused `get_inverse_doppler_factor` from line 10 tardis/transport/montecarlo/tests/conftest.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/conftest.py:19:5: F811 Redefinition of unused `opacity_state_initialize` from line 6 tardis/transport/montecarlo/tests/test_base.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_base.py:1:8: F401 [*] `os` imported but unused tardis/transport/montecarlo/tests/test_base.py:3:17: F401 [*] `numpy` imported but unused tardis/transport/montecarlo/tests/test_base.py:5:30: F401 [*] `astropy.units` imported but unused tardis/transport/montecarlo/tests/test_base.py:7:21: F401 [*] `pathlib.Path` imported but unused tardis/transport/montecarlo/tests/test_continuum.py:4:8: F401 [*] `pytest` imported but unused tardis/transport/montecarlo/tests/test_cuda_formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_cuda_formal_integral.py:15:46: F401 [*] `tardis.transport.montecarlo.base.MonteCarloTransportSolver` imported but unused tardis/transport/montecarlo/tests/test_interaction.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_montecarlo.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_montecarlo.py:27:1: E402 Module level import not at top of file tardis/transport/montecarlo/tests/test_montecarlo.py:32:1: E402 Module level import not at top of file tardis/transport/montecarlo/tests/test_montecarlo.py:48:5: PT021 Use `yield` instead of `request.addfinalizer` tardis/transport/montecarlo/tests/test_montecarlo.py:204:5: F811 Redefinition of unused `test_get_random_mu_different_output` from line 195 tardis/transport/montecarlo/tests/test_montecarlo.py:484:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:570:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:571:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:579:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:592:9: PT014 Duplicate of test case at index 1 in `@pytest_mark.parametrize` tardis/transport/montecarlo/tests/test_montecarlo.py:597:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:602:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:625:9: F821 Undefined name `transport` tardis/transport/montecarlo/tests/test_montecarlo.py:626:9: F821 Undefined name `transport` tardis/transport/montecarlo/tests/test_montecarlo.py:627:9: F821 Undefined name `transport` tardis/transport/montecarlo/tests/test_montecarlo.py:628:9: F821 Undefined name `transport` tardis/transport/montecarlo/tests/test_montecarlo.py:630:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:643:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:667:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo.py:680:5: F821 Undefined name `mc` tardis/transport/montecarlo/tests/test_montecarlo_main_loop.py:11:5: PT015 Assertion always fails, replace with `pytest.fail()` tardis/transport/montecarlo/tests/test_montecarlo_main_loop.py:11:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()` tardis/transport/montecarlo/tests/test_numba_formal_integral.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_numba_formal_integral.py:5:18: F401 [*] `copy.deepcopy` imported but unused tardis/transport/montecarlo/tests/test_numba_interface.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_numba_interface.py:62:5: PT015 Assertion always fails, replace with `pytest.fail()` tardis/transport/montecarlo/tests/test_numba_interface.py:62:12: B011 Do not `assert False` (`python -O` removes these calls), raise `AssertionError()` tardis/transport/montecarlo/tests/test_packet.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_packet.py:9:55: F401 [*] `tardis.transport.montecarlo.numba_interface` imported but unused tardis/transport/montecarlo/tests/test_packet.py:12:50: F811 [*] Redefinition of unused `frame_transformations` from line 5 tardis/transport/montecarlo/tests/test_packet.py:13:57: F811 [*] Redefinition of unused `calculate_distances` from line 6 tardis/transport/montecarlo/tests/test_packet.py:24:1: E402 Module level import not at top of file tardis/transport/montecarlo/tests/test_packet_source.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_packet_source.py:1:8: F401 [*] `os` imported but unused tardis/transport/montecarlo/tests/test_packet_source.py:5:18: F401 [*] `pandas` imported but unused tardis/transport/montecarlo/tests/test_packet_source.py:14:5: PLC0414 Import alias does not rename original package tardis/transport/montecarlo/tests/test_packet_source.py:16:51: F401 [*] `tardis.tests.fixtures.regression_data.RegressionData` imported but unused tardis/transport/montecarlo/tests/test_rpacket_last_interaction_tracker.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/tests/test_rpacket_tracker.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/tests/test_tracker_utils.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/tests/test_vpacket.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/transport/montecarlo/tests/test_vpacket.py:1:8: F401 [*] `os` imported but unused tardis/transport/montecarlo/tests/test_vpacket.py:4:18: F401 [*] `pandas` imported but unused tardis/transport/montecarlo/tests/test_vpacket.py:14:1: E402 Module level import not at top of file tardis/transport/montecarlo/tests/test_weighted_packet_source.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/tests/test_weighted_packet_source_integration.py:1:1: E902 No such file or directory (os error 2) tardis/transport/montecarlo/weighted_packet_source.py:1:1: E902 No such file or directory (os error 2) tardis/util/base.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/util/base.py:12:30: F401 [*] `radioactivedecay.Nuclide` imported but unused tardis/util/base.py:119:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/util/base.py:135:12: C414 Unnecessary `list` call within `set()` tardis/util/base.py:196:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/util/base.py:234:13: PIE790 [*] Unnecessary `pass` statement tardis/util/base.py:344:5: RET505 Unnecessary `else` after `return` statement tardis/util/base.py:349:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/util/base.py:405:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/util/base.py:483:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/util/base.py:502:5: D202 [*] No blank lines allowed after function docstring (found 1) tardis/util/base.py:522:5: E722 Do not use bare `except` tardis/util/base.py:523:22: SIM210 Remove unnecessary `True if ... else False` tardis/util/base.py:630:5: RET505 Unnecessary `elif` after `return` statement tardis/util/base.py:776:5: D412 [*] No blank lines allowed between a section header and its content ("Parameters") 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:6: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:7: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: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:10:51: F401 `tardis.visualization.widgets.grotrian.GrotrianWidget` imported but unused; consider removing, adding to `__all__`, or using a redundant alias tardis/visualization/__init__.py:11: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:12: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:13:53: F401 `tardis.visualization.tools.rpacket_plot.RPacketPlotter` imported but unused; consider removing, adding to `__all__`, or using a redundant alias tardis/visualization/plot_util.py:3:1: I001 [*] Import block is un-sorted or un-formatted tardis/visualization/plot_util.py:31:27: W605 [*] Invalid escape sequence: `\m` tardis/visualization/plot_util.py:31:34: W605 [*] Invalid escape sequence: `\{` tardis/visualization/plot_util.py:31:40: W605 [*] Invalid escape sequence: `\}` tardis/visualization/plot_util.py:42:5: RET505 Unnecessary `else` after `return` statement tardis/visualization/tools/liv_plot.py:1:1: E902 No such file or directory (os error 2) tardis/visualization/tools/rpacket_plot.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/visualization/tools/rpacket_plot.py:3:18: F401 [*] `pandas` imported but unused tardis/visualization/tools/rpacket_plot.py:6:26: F401 [*] `plotly.express` imported but unused tardis/visualization/tools/rpacket_plot.py:101:13: RET505 Unnecessary `else` after `return` statement tardis/visualization/tools/rpacket_plot.py:110:114: W291 Trailing whitespace tardis/visualization/tools/rpacket_plot.py:115:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/visualization/tools/rpacket_plot.py:231:35: ISC003 Explicitly concatenated string should be implicitly concatenated tardis/visualization/tools/rpacket_plot.py:492:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/visualization/tools/rpacket_plot.py:626:35: ISC003 Explicitly concatenated string should be implicitly concatenated tardis/visualization/tools/rpacket_plot.py:657:9: D202 [*] No blank lines allowed after function docstring (found 1) tardis/visualization/tools/sdec_plot.py:196:9: RET505 Unnecessary `elif` after `return` statement tardis/visualization/tools/sdec_plot.py:328:13: RET505 Unnecessary `elif` after `return` statement tardis/visualization/tools/sdec_plot.py:439:9: RET505 Unnecessary `else` after `return` statement tardis/visualization/tools/sdec_plot.py:475:9: RET505 Unnecessary `elif` after `return` statement tardis/visualization/tools/sdec_plot.py:510:13: RET506 Unnecessary `else` after `raise` statement tardis/visualization/tools/sdec_plot.py:676:13: RET506 Unnecessary `else` after `raise` statement tardis/visualization/tools/tests/test_liv_plot.py:1:1: E902 No such file or directory (os error 2) tardis/visualization/tools/tests/test_rpacket_plot.py:3:1: I001 [*] Import block is un-sorted or un-formatted tardis/visualization/tools/tests/test_rpacket_plot.py:7:18: F401 [*] `pandas` imported but unused tardis/visualization/tools/tests/test_sdec_plot.py:343:17: F631 Assert test is a non-empty tuple, which is always `True` tardis/visualization/tools/tests/test_sdec_plot.py:475:13: F631 Assert test is a non-empty tuple, which is always `True` tardis/visualization/tools/tests/test_sdec_plot.py:557:13: PLW0127 Self-assignment of variable `observed_spectrum` tardis/visualization/tools/tests/test_sdec_plot.py:618:13: F631 Assert test is a non-empty tuple, which is always `True` tardis/visualization/widgets/custom_abundance.py:2:1: I001 [*] Import block is un-sorted or un-formatted tardis/visualization/widgets/custom_abundance.py:32:60: F811 [*] Redefinition of unused `quantity_linspace` from line 16 tardis/visualization/widgets/custom_abundance.py:604:47: UP032 [*] Use f-string instead of `format` call tardis/visualization/widgets/custom_abundance.py:737:9: SIM103 Return the condition directly tardis/visualization/widgets/custom_abundance.py:741:9: RET505 Unnecessary `else` after `return` statement tardis/visualization/widgets/custom_abundance.py:916:12: E712 Avoid equality comparisons to `True`; use `if obj.new:` for truth checks tardis/visualization/widgets/custom_abundance.py:1129:9: RET505 Unnecessary `else` after `return` statement tardis/visualization/widgets/custom_abundance.py:1420:9: RET506 Unnecessary `else` after `raise` statement tardis/visualization/widgets/custom_abundance.py:1472:27: UP031 Use format specifiers instead of percent format tardis/visualization/widgets/custom_abundance.py:1687:36: UP032 [*] Use f-string instead of `format` call tardis/visualization/widgets/custom_abundance.py:1723:9: F811 Redefinition of unused `input_d_time_0_eventhandler` from line 1712 tardis/visualization/widgets/custom_abundance.py:1753:13: F821 Undefined name `display` 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/line_info.py:2:1: I001 [*] Import block is un-sorted or un-formatted tardis/visualization/widgets/line_info.py:2:8: F401 [*] `re` imported but unused tardis/visualization/widgets/line_info.py:7:8: F401 [*] `qgrid` imported but unused tardis/visualization/widgets/line_info.py:305:21: E712 Avoid equality comparisons to `False`; use `if not ...:` for false checks tardis/visualization/widgets/shell_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/visualization/widgets/shell_info.py:1:25: F401 [*] `tardis.base.run_tardis` imported but unused tardis/visualization/widgets/shell_info.py:2:51: F401 [*] `tardis.io.atom_data.atom_web_download.download_atom_data` imported but unused tardis/visualization/widgets/shell_info.py:12:17: F401 [*] `numpy` imported but unused tardis/visualization/widgets/shell_info.py:299:25: PIE808 [*] Unnecessary `start` argument in `range` tardis/visualization/widgets/tests/test_shell_info.py:1:1: I001 [*] Import block is un-sorted or un-formatted tardis/visualization/widgets/tests/test_shell_info.py:5:36: F401 [*] `tardis.tests.test_util.monkeysession` imported but unused tardis/visualization/widgets/tests/test_shell_info.py:142:50: F811 Redefinition of unused `monkeysession` from line 5 tardis/visualization/widgets/util.py:3:1: I001 [*] Import block is un-sorted or un-formatted tardis_env3.yml:3:10: E999 SyntaxError: Expected an expression Found 919 errors. [*] 379 fixable with the `--fix` option (52 hidden fixes can be enabled with the `--unsafe-fixes` option). ```
DeekshaMohanty commented 1 month ago

Points 6 and 7 for the issue linked to this PR need some further discussion. #2701

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 93.33333% with 5 lines in your changes missing coverage. Please review.

Project coverage is 70.87%. Comparing base (f8f664c) to head (68bdb3a). Report is 86 commits behind head on master.

Files with missing lines Patch % Lines
tardis/io/logger/logger.py 92.85% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2700 +/- ## ========================================== + Coverage 69.68% 70.87% +1.19% ========================================== Files 181 208 +27 Lines 14469 15639 +1170 ========================================== + Hits 10082 11084 +1002 - Misses 4387 4555 +168 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.