bts
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 44 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 45 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 46 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 47 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 48 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 1 | 0 | convention | Missing module docstring | missing-module-docstring | C0114 | |
Source | 18 | 0 | convention | get_bts_config | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 32 | 0 | convention | BTSParentSample | Missing class docstring | missing-class-docstring | C0115 |
Source | 53 | 8 | refactor | BTSParentSample.__init__ | Consider using Python 3 style super() without arguments | super-with-arguments | R1725 |
Source | 65 | 4 | convention | BTSParentSample.make_sample | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 69 | 14 | warning | BTSParentSample.make_sample | Missing timeout argument for method 'requests.get' can cause your program to hang indefinitely | missing-timeout | W3101 |
Source | 71 | 8 | refactor | BTSParentSample.make_sample | Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it | no-else-raise | R1720 |
Source | 3 | 0 | convention | standard import "import io" should be placed before "import pandas as pd" | wrong-import-order | C0411 | |
Source | 4 | 0 | convention | standard import "import os" should be placed before "import pandas as pd" | wrong-import-order | C0411 | |
Source | 1 | 0 | refactor | Similar lines in 2 files ==timewise_sup.meta_analysis.flux:[185:194] ==timewise_sup.meta_analysis.luminosity:[217:226] logger.debug(f"writing to {fn}") with open(fn, "w") as f: json.dump(lcs, f) else: logger.debug(f"reading from {fn}") with open(fn, "r") as f: lcs = json.load(f) |
duplicate-code | R0801 | |
Source | 1 | 0 | refactor | Similar lines in 2 files ==timewise_sup.meta_analysis.baseline_subtraction:[316:323] ==timewise_sup.plots.plot_lightcurves:[107:114] base_name=base_name, database_name=database_name, wise_data=wise_data, index=index, service=service, load_from_bigdata_dir=load_from_bigdata_dir, correct_with_catalog_magnitudes=correct_with_catalog_magnitudes |
duplicate-code | R0801 | |
Source | 1 | 0 | refactor | Similar lines in 2 files ==timewise_sup.meta_analysis.fluence:[134:139] ==timewise_sup.plots.plot_lightcurves:[50:55] base_name=base_name, database_name=database_name, wise_data=wise_data, status=status, service=service, |
duplicate-code | R0801 | |
Source | 1 | 0 | refactor | Similar lines in 2 files ==timewise_sup.ampel_conf:[41:47] ==timewise_sup.analyse_lightcurves.bayesian_blocks:[49:54] out, err = p.communicate() if out is not None: logger.info(out.decode()) if err is not None: logger.error(err.decode()) |
duplicate-code | R0801 |
sjoerts_flares
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 1 | 0 | convention | Missing module docstring | missing-module-docstring | C0114 | |
Source | 16 | 0 | convention | get_test_flares_config | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 24 | 0 | convention | TestWISEData | Missing class docstring | missing-class-docstring | C0115 |
Source | 27 | 8 | refactor | TestWISEData.__init__ | Consider using Python 3 style super() without arguments | super-with-arguments | R1725 |
Source | 26 | 0 | warning | TestWISEData.__init__ | Unused argument 'kwargs' | unused-argument | W0613 |
Source | 64 | 0 | convention | TestParentSample | Missing class docstring | missing-class-docstring | C0115 |
Source | 78 | 8 | refactor | TestParentSample.__init__ | Consider using Python 3 style super() without arguments | super-with-arguments | R1725 |
Source | 81 | 4 | convention | TestParentSample.get_redshifts | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 82 | 20 | error | TestParentSample.get_redshifts | Instance of 'JsonReader' has no 'loc' member | no-member | E1101 |
Source | 90 | 4 | convention | TestParentSample.sample | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 3 | 0 | convention | standard import "from pathlib import Path" should be placed before "import pandas as pd" | wrong-import-order | C0411 | |
Source | 7 | 0 | warning | Unused DatabaseConnector imported from timewise_sup.mongo | unused-import | W0611 |
timewise_sup
timewise_sup.ampel_conf
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 5 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 7 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 8 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 252 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 255 | 0 | convention | Final newline missing | missing-final-newline | C0304 | |
Source | 233 | 43 | warning | Anomalous backslash in string: '\c'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 233 | 55 | warning | Anomalous backslash in string: '\l'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 237 | 59 | warning | Anomalous backslash in string: '\c'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 22 | 0 | convention | ampel_conf_filename | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 34 | 4 | warning | create_ampel_config_file | Redefining built-in 'dir' | redefined-builtin | W0622 |
Source | 50 | 9 | warning | create_ampel_config_file | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 57 | 9 | warning | create_ampel_config_file | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 226 | 0 | convention | get_bandpass_filter_component | Missing function or method docstring | missing-function-docstring | C0116 |
timewise_sup.analyse_lightcurves.bayesian_blocks
timewise_sup.analyse_lightcurves.cluster
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 29 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 81 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 139 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 155 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 235 | 23 | convention | Trailing whitespace | trailing-whitespace | C0303 | |
Source | 25 | 0 | refactor | Submitter | Too many instance attributes (14/7) | too-many-instance-attributes | R0902 |
Source | 60 | 4 | refactor | Submitter.__init__ | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 101 | 47 | refactor | Submitter.__init__ | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 144 | 8 | warning | Submitter.make_executable_file | Use lazy % formatting in logging functions | logging-not-lazy | W1201 |
Source | 145 | 13 | warning | Submitter.make_executable_file | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 150 | 45 | warning | Submitter.condor_submit_filename | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 155 | 66 | convention | Submitter.make_condor_submit_files | Consider iterating the dictionary directly instead of calling .keys() | consider-iterating-dictionary | C0201 |
Source | 175 | 13 | warning | Submitter.make_condor_submit_files | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 232 | 13 | warning | Submitter.make_dagman_file | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 256 | 26 | convention | Submitter.submit_cluster | Use str(msg).rsplit('cluster ', maxsplit=1)[-1] instead | use-maxsplit-arg | C0207 |
Source | 303 | 12 | warning | Submitter.wait_for_job | Use lazy % formatting in logging functions | logging-not-lazy | W1201 |
Source | 308 | 29 | convention | Submitter.wait_for_job | Comparison 'np.array(self.condor_status) == None' should be 'np.array(self.condor_status) is None' | singleton-comparison | C0121 |
Source | 321 | 12 | warning | Submitter.wait_for_job | Use lazy % formatting in logging functions | logging-not-lazy | W1201 |
Source | 324 | 24 | warning | Submitter.wait_for_job | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 334 | 0 | refactor | run_bayesian_blocks_on_cluster | Too many arguments (9/5) | too-many-arguments | R0913 |
timewise_sup.analyse_lightcurves.create_job_file_yaml
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 36 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 90 | 0 | convention | Line too long (121/100) | line-too-long | C0301 | |
Source | 98 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 132 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 193 | 0 | convention | Line too long (116/100) | line-too-long | C0301 | |
Source | 234 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 278 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 101 | 60 | warning | Anomalous backslash in string: '\c'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 101 | 67 | warning | Anomalous backslash in string: '\m'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 59 | 11 | refactor | keys_in_list | Use a generator instead 'any(any([k in element for element in arr]) for k in keys)' | use-a-generator | R1729 |
Source | 59 | 16 | refactor | keys_in_list | Use a generator instead 'any(k in element for element in arr)' | use-a-generator | R1729 |
Source | 62 | 0 | refactor | make_ampel_job_file | Too many arguments (10/5) | too-many-arguments | R0913 |
Source | 62 | 0 | refactor | make_ampel_job_file | Too many local variables (39/15) | too-many-locals | R0914 |
Source | 185 | 17 | refactor | make_ampel_job_file | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 186 | 15 | refactor | make_ampel_job_file | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 187 | 15 | refactor | make_ampel_job_file | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 278 | 24 | warning | make_ampel_job_file | Access to a protected member _data_product_filename of a client class | protected-access | W0212 |
Source | 280 | 24 | warning | make_ampel_job_file | Access to a protected member _data_product_filename of a client class | protected-access | W0212 |
Source | 370 | 9 | warning | make_ampel_job_file | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 62 | 0 | refactor | make_ampel_job_file | Too many branches (15/12) | too-many-branches | R0912 |
Source | 62 | 0 | refactor | make_ampel_job_file | Too many statements (66/50) | too-many-statements | R0915 |
Source | 13 | 0 | convention | standard import "import copy" should be placed before "import yaml" | wrong-import-order | C0411 |
timewise_sup.config_loader
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 2 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 5 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 6 | 0 | convention | Line too long (145/100) | line-too-long | C0301 | |
Source | 36 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 86 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 40 | 0 | convention | TimewiseSUPConfigLoader | Missing class docstring | missing-class-docstring | C0115 |
Source | 57 | 44 | refactor | TimewiseSUPConfigLoader | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 76 | 44 | refactor | TimewiseSUPConfig | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 80 | 4 | convention | TimewiseSUPConfig.validate_timewise_sup_instructions | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 80 | 4 | error | TimewiseSUPConfig.validate_timewise_sup_instructions | Method 'validate_timewise_sup_instructions' should have "self" as first argument | no-self-argument | E0213 |
Source | 94 | 42 | refactor | TimewiseSUPConfig.validate_timewise_sup_instructions | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 103 | 20 | warning | TimewiseSUPConfig.validate_timewise_sup_instructions | Consider explicitly re-raising using 'raise ValueError(f'{fct_name}: {e}!') from e' | raise-missing-from | W0707 |
Source | 113 | 42 | refactor | TimewiseSUPConfig.run_config | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
timewise_sup.environment
timewise_sup.main
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 30 | 0 | convention | Line too long (120/100) | line-too-long | C0301 | |
Source | 43 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 59 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 122 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 145 | 0 | convention | Line too long (125/100) | line-too-long | C0301 | |
Source | 147 | 0 | convention | Line too long (124/100) | line-too-long | C0301 | |
Source | 158 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 1 | 0 | convention | Missing module docstring | missing-module-docstring | C0114 | |
Source | 15 | 0 | convention | main | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 28 | 0 | refactor | bump_version | Too many local variables (22/15) | too-many-locals | R0914 |
Source | 62 | 9 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 87 | 10 | warning | bump_version | Using possibly undefined loop variable 'i' | undefined-loop-variable | W0631 |
Source | 90 | 9 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 101 | 9 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 111 | 9 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 124 | 8 | warning | bump_version | Use lazy % formatting in logging functions | logging-not-lazy | W1201 |
Source | 129 | 13 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 133 | 13 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 137 | 13 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 141 | 13 | warning | bump_version | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 28 | 0 | refactor | bump_version | Too many branches (15/12) | too-many-branches | R0912 |
Source | 28 | 0 | refactor | bump_version | Too many statements (79/50) | too-many-statements | R0915 |
timewise_sup.meta_analysis.agn
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 4 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 51 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 52 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 59 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 60 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 97 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 98 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 99 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 130 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 129 | 16 | warning | get_agn_mask_from_variability | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 10 | 0 | convention | standard import "import logging" should be placed before "import matplotlib as mpl" | wrong-import-order | C0411 |
timewise_sup.meta_analysis.baseline_subtraction
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 4 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 5 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 7 | 0 | convention | Line too long (121/100) | line-too-long | C0301 | |
Source | 8 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 42 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 43 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 52 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 58 | 0 | convention | Line too long (122/100) | line-too-long | C0301 | |
Source | 67 | 0 | convention | Line too long (102/100) | line-too-long | C0301 | |
Source | 96 | 0 | convention | Line too long (116/100) | line-too-long | C0301 | |
Source | 107 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 124 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 149 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 177 | 0 | convention | Line too long (120/100) | line-too-long | C0301 | |
Source | 178 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 193 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 195 | 0 | convention | Line too long (122/100) | line-too-long | C0301 | |
Source | 240 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 241 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 254 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 256 | 0 | convention | Line too long (122/100) | line-too-long | C0301 | |
Source | 263 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 296 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 309 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 311 | 0 | convention | Line too long (122/100) | line-too-long | C0301 | |
Source | 98 | 13 | warning | TODO: figure out what todo with baseline unc! | fixme | W0511 | |
Source | 32 | 0 | refactor | apply_baseline_subtraction | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 32 | 0 | refactor | apply_baseline_subtraction | Too many local variables (33/15) | too-many-locals | R0914 |
Source | 101 | 30 | warning | apply_baseline_subtraction | Access to a protected member _get_chunk_number of a client class | protected-access | W0212 |
Source | 104 | 15 | refactor | apply_baseline_subtraction | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 156 | 20 | warning | apply_baseline_subtraction | Consider explicitly re-raising using 'raise KeyError from e' | raise-missing-from | W0707 |
Source | 166 | 0 | refactor | get_baseline_subtracted_lightcurves | Too many arguments (8/5) | too-many-arguments | R0913 |
Source | 224 | 13 | warning | get_baseline_subtracted_lightcurves | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 230 | 0 | refactor | get_lightcurves | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 265 | 10 | refactor | get_lightcurves | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 286 | 0 | refactor | get_single_lightcurve | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 17 | 0 | convention | standard import "import logging" should be placed before "import numpy as np" | wrong-import-order | C0411 | |
Source | 19 | 0 | convention | standard import "from pathlib import Path" should be placed before "import numpy as np" | wrong-import-order | C0411 | |
Source | 26 | 0 | convention | third party import "from timewise import WiseDataByVisit, WISEDataDESYCluster" should be placed before "from timewise_sup.mongo import DatabaseConnector, Index, Status" | wrong-import-order | C0411 |
timewise_sup.meta_analysis.catalog_match
timewise_sup.meta_analysis.diagnostics
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 2 | 0 | convention | Line too long (116/100) | line-too-long | C0301 | |
Source | 11 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 17 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 49 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 50 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 74 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 95 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 96 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 177 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 178 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 260 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 277 | 0 | convention | Line too long (120/100) | line-too-long | C0301 | |
Source | 280 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 296 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 382 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 383 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 448 | 0 | convention | Line too long (116/100) | line-too-long | C0301 | |
Source | 449 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 450 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 462 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 70 | 20 | refactor | get_statuses_per_chunk | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 78 | 13 | warning | get_statuses_per_chunk | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 83 | 13 | warning | get_statuses_per_chunk | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 118 | 28 | refactor | get_catalog_matches_per_chunk | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 124 | 28 | refactor | get_catalog_matches_per_chunk | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 126 | 52 | error | get_catalog_matches_per_chunk | Value 'chunk_match_mask' is unsubscriptable | unsubscriptable-object | E1136 |
Source | 131 | 13 | warning | get_catalog_matches_per_chunk | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 136 | 13 | warning | get_catalog_matches_per_chunk | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 163 | 11 | refactor | calculate_positional_outlier_times | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 166 | 39 | warning | calculate_positional_outlier_times | Access to a protected member _tap_orig_id_key of a client class | protected-access | W0212 |
Source | 187 | 16 | warning | get_positional_outliers_times | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 193 | 21 | refactor | get_positional_outliers_times | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 203 | 17 | warning | get_positional_outliers_times | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 208 | 17 | warning | get_positional_outliers_times | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 289 | 0 | refactor | get_baseline_changes | Too many local variables (16/15) | too-many-locals | R0914 |
Source | 312 | 7 | refactor | get_baseline_changes | Use a generator instead 'any(b not in parent_sample.default_keymap for b in wise_mag_keys)' | use-a-generator | R1729 |
Source | 372 | 0 | refactor | fit_baseline_changes | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 372 | 0 | refactor | fit_baseline_changes | Too many local variables (24/15) | too-many-locals | R0914 |
Source | 404 | 10 | refactor | fit_baseline_changes | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 419 | 8 | warning | fit_baseline_changes | Use lazy % formatting in logging functions | logging-not-lazy | W1201 |
Source | 423 | 8 | warning | fit_baseline_changes | Possible unbalanced tuple unpacking with sequence defined at line 1014 of scipy.optimize._minpack_py: left side has 2 labels, right side has 5 values | unbalanced-tuple-unpacking | W0632 |
Source | 438 | 0 | refactor | get_baseline_change_fit | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 477 | 13 | warning | get_baseline_change_fit | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 482 | 13 | warning | get_baseline_change_fit | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 30 | 0 | convention | standard import "from datetime import datetime" should be placed before "import pandas as pd" | wrong-import-order | C0411 |
timewise_sup.meta_analysis.fluence
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 39 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 50 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 52 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 54 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 97 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 108 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 110 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 114 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 29 | 0 | refactor | calculate_ir_fluence | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 29 | 0 | refactor | calculate_ir_fluence | Too many local variables (17/15) | too-many-locals | R0914 |
Source | 66 | 14 | refactor | calculate_ir_fluence | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 86 | 0 | refactor | get_ir_fluence | Too many arguments (8/5) | too-many-arguments | R0913 |
Source | 128 | 13 | warning | get_ir_fluence | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 133 | 20 | warning | get_ir_fluence | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 144 | 13 | warning | get_ir_fluence | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
timewise_sup.meta_analysis.flux
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 5 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 52 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 80 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 91 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 93 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 95 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 143 | 0 | convention | Line too long (105/100) | line-too-long | C0301 | |
Source | 144 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 154 | 0 | convention | Line too long (105/100) | line-too-long | C0301 | |
Source | 156 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 158 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 160 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 208 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 219 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 221 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 223 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 237 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 253 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 264 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 266 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 268 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 42 | 11 | error | get_band_nu | Module 'astropy.constants' has no 'c' member | no-member | E1101 |
Source | 70 | 0 | refactor | calculate_ir_flux | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 107 | 22 | refactor | calculate_ir_flux | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 132 | 0 | refactor | get_ir_flux | Too many arguments (8/5) | too-many-arguments | R0913 |
Source | 187 | 13 | warning | get_ir_flux | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 192 | 13 | warning | get_ir_flux | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 198 | 0 | refactor | get_ir_flux_index | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 232 | 13 | refactor | get_ir_flux_index | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 243 | 0 | refactor | get_max_flux | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 243 | 0 | refactor | get_max_flux | Too many local variables (17/15) | too-many-locals | R0914 |
timewise_sup.meta_analysis.integrate_time
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 51 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 52 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 65 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 18 | 0 | convention | time_integral | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 18 | 0 | refactor | time_integral | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 18 | 0 | refactor | time_integral | Too many local variables (21/15) | too-many-locals | R0914 |
timewise_sup.meta_analysis.ir_energy
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 2 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 5 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 6 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 50 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 64 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 75 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 105 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 106 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 124 | 0 | convention | Line too long (127/100) | line-too-long | C0301 | |
Source | 139 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 141 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 185 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 199 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 210 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 212 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 231 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 41 | 0 | refactor | calculate_ir_energy | Too many arguments (6/5) | too-many-arguments | R0913 |
Source | 41 | 0 | refactor | calculate_ir_energy | Too many local variables (21/15) | too-many-locals | R0914 |
Source | 100 | 15 | refactor | calculate_ir_energy | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 114 | 0 | refactor | get_ir_energy_status | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 114 | 0 | refactor | get_ir_energy_status | Too many local variables (16/15) | too-many-locals | R0914 |
Source | 153 | 8 | refactor | get_ir_energy_status | Unnecessary "else" after "raise", remove the "else" and de-indent the code inside it | no-else-raise | R1720 |
Source | 167 | 13 | warning | get_ir_energy_status | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 172 | 13 | warning | get_ir_energy_status | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 190 | 0 | refactor | get_ir_energy_index | Too many arguments (6/5) | too-many-arguments | R0913 |
Source | 220 | 15 | refactor | get_ir_energy_index | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 21 | 0 | convention | standard import "from pathlib import Path" should be placed before "import numpy as np" | wrong-import-order | C0411 |
timewise_sup.meta_analysis.luminosity
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 56 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 57 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 58 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 74 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 109 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 158 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 159 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 178 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 231 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 232 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 255 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 257 | 0 | convention | Line too long (105/100) | line-too-long | C0301 | |
Source | 280 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 282 | 0 | convention | Trailing newlines | trailing-newlines | C0305 | |
Source | 18 | 0 | error | No name 'Planck18' in module 'astropy.cosmology' | no-name-in-module | E0611 | |
Source | 34 | 0 | convention | get_ref_time | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 45 | 0 | refactor | calculate_ir_luminosities | Too many arguments (8/5) | too-many-arguments | R0913 |
Source | 45 | 0 | refactor | calculate_ir_luminosities | Too many local variables (30/15) | too-many-locals | R0914 |
Source | 92 | 28 | refactor | calculate_ir_luminosities | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 147 | 0 | refactor | get_ir_luminosities | Too many arguments (8/5) | too-many-arguments | R0913 |
Source | 147 | 0 | refactor | get_ir_luminosities | Too many local variables (19/15) | too-many-locals | R0914 |
Source | 219 | 13 | warning | get_ir_luminosities | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 224 | 13 | warning | get_ir_luminosities | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 237 | 0 | convention | get_ir_luminosities_index | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 237 | 0 | refactor | get_ir_luminosities_index | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 252 | 15 | refactor | get_ir_luminosities_index | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
timewise_sup.meta_analysis.rejection_reason
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 2 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 7 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 26 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 42 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 44 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 62 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 117 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 118 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 124 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 138 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 164 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 166 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 172 | 0 | convention | Trailing newlines | trailing-newlines | C0305 | |
Source | 21 | 0 | refactor | get_rejection_reason | Too many local variables (17/15) | too-many-locals | R0914 |
Source | 47 | 25 | refactor | get_rejection_reason | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 82 | 0 | refactor | calculate_rejection_reasons | Too many local variables (16/15) | too-many-locals | R0914 |
Source | 152 | 37 | warning | get_individual_rejection_reasons | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
timewise_sup.meta_analysis.separation
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 26 | 0 | convention | Line too long (122/100) | line-too-long | C0301 | |
Source | 28 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 88 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 94 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 110 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 131 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 133 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 139 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 144 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 151 | 0 | convention | Line too long (120/100) | line-too-long | C0301 | |
Source | 208 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 218 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 229 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 58 | 0 | refactor | calculate_separation | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 58 | 0 | refactor | calculate_separation | Too many local variables (31/15) | too-many-locals | R0914 |
Source | 110 | 31 | warning | calculate_separation | Access to a protected member _get_chunk_number of a client class | protected-access | W0212 |
Source | 139 | 70 | warning | calculate_separation | Access to a protected member _tap_orig_id_key of a client class | protected-access | W0212 |
Source | 199 | 0 | refactor | get_separation | Too many arguments (6/5) | too-many-arguments | R0913 |
Source | 13 | 0 | convention | standard import "from typing import Sequence" should be placed before "import pandas as pd" | wrong-import-order | C0411 |
timewise_sup.mongo
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 6 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 104 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 151 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 173 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 197 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 239 | 0 | convention | Line too long (105/100) | line-too-long | C0301 | |
Source | 280 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 291 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 299 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 312 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 367 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 385 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 427 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 431 | 0 | convention | Line too long (105/100) | line-too-long | C0301 | |
Source | 432 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 480 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 531 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 602 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 611 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 633 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 634 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 635 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 636 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 647 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 658 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 700 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 761 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 791 | 0 | convention | Line too long (102/100) | line-too-long | C0301 | |
Source | 806 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 814 | 0 | convention | Line too long (119/100) | line-too-long | C0301 | |
Source | 402 | 65 | warning | Anomalous backslash in string: '\s'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 442 | 65 | warning | Anomalous backslash in string: '\s'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 17 | 0 | error | No name 'BaseModel' in module 'pydantic' | no-name-in-module | E0611 | |
Source | 113 | 4 | convention | DatabaseConnector.Config | Missing class docstring | missing-class-docstring | C0115 |
Source | 113 | 4 | refactor | DatabaseConnector.Config | Too few public methods (0/2) | too-few-public-methods | R0903 |
Source | 159 | 12 | warning | DatabaseConnector.get_dataframe | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 175 | 17 | refactor | DatabaseConnector.get_dataframe | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 177 | 45 | refactor | DatabaseConnector.get_dataframe | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 247 | 17 | refactor | DatabaseConnector.get_status | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 246 | 8 | warning | DatabaseConnector.get_status | Unused variable 'i' | unused-variable | W0612 |
Source | 264 | 8 | warning | DatabaseConnector.get_unique_statuses | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 282 | 8 | warning | DatabaseConnector._calculate_ids | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 289 | 17 | refactor | DatabaseConnector._calculate_ids | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 317 | 17 | refactor | DatabaseConnector.get_ids | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 325 | 21 | warning | DatabaseConnector.get_ids | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 330 | 21 | warning | DatabaseConnector.get_ids | Using open without explicitly specifying an encoding | unspecified-encoding | W1514 |
Source | 347 | 21 | warning | DatabaseConnector.get_rejected_ids | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 369 | 22 | refactor | DatabaseConnector.get_excess_mjd | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 379 | 32 | refactor | DatabaseConnector.get_excess_mjd | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 378 | 16 | warning | DatabaseConnector.get_excess_mjd | Unused variable 'i' | unused-variable | W0612 |
Source | 485 | 12 | warning | DatabaseConnector._calculate_t2_dust_echo_eval_descriptions | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 482 | 17 | refactor | DatabaseConnector._calculate_t2_dust_echo_eval_descriptions | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 492 | 24 | refactor | DatabaseConnector._calculate_t2_dust_echo_eval_descriptions | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 495 | 26 | warning | DatabaseConnector._calculate_t2_dust_echo_eval_descriptions | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 497 | 20 | warning | DatabaseConnector._calculate_t2_dust_echo_eval_descriptions | Consider explicitly re-raising using 'raise KeyError(f'{lc}: {e}') from e' | raise-missing-from | W0707 |
Source | 538 | 4 | convention | DatabaseConnector.get_agn_variability_stocks | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 541 | 8 | warning | DatabaseConnector.get_agn_variability_stocks | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 554 | 17 | refactor | DatabaseConnector.get_agn_variability_stocks | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 561 | 4 | refactor | DatabaseConnector.get_strength | Too many local variables (16/15) | too-many-locals | R0914 |
Source | 585 | 12 | error | DatabaseConnector.get_strength | Instance of 'JsonReader' has no 'set_index' member | no-member | E1101 |
Source | 605 | 29 | warning | DatabaseConnector.get_strength | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 624 | 12 | warning | DatabaseConnector.get_strength | Unused variable 'i' | unused-variable | W0612 |
Source | 660 | 8 | warning | DatabaseConnector.get_t2_dust_echo_eval_values | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 669 | 17 | refactor | DatabaseConnector.get_t2_dust_echo_eval_values | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 672 | 21 | refactor | DatabaseConnector.get_t2_dust_echo_eval_values | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 678 | 20 | warning | DatabaseConnector.get_t2_dust_echo_eval_values | Consider explicitly re-raising using 'raise KeyError(f'{lc}: {e}') from e' | raise-missing-from | W0707 |
Source | 680 | 20 | warning | DatabaseConnector.get_t2_dust_echo_eval_values | Consider explicitly re-raising using 'raise IndexError(f'{lc}: {e}') from e' | raise-missing-from | W0707 |
Source | 742 | 12 | warning | DatabaseConnector.get_catalog_matches | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 738 | 18 | refactor | DatabaseConnector.get_catalog_matches | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 753 | 4 | refactor | DatabaseConnector.get_redshift | Too many local variables (17/15) | too-many-locals | R0914 |
Source | 764 | 8 | warning | DatabaseConnector.get_redshift | Redefining built-in 'filter' | redefined-builtin | W0622 |
Source | 783 | 19 | refactor | DatabaseConnector.get_redshift | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 796 | 23 | refactor | DatabaseConnector.get_redshift | Use a generator instead 'all(len(g) for g in group_zs)' | use-a-generator | R1729 |
Source | 807 | 31 | refactor | DatabaseConnector.get_redshift | Use a generator instead 'any(z in redshifts for z in group_z)' | use-a-generator | R1729 |
Source | 807 | 60 | warning | DatabaseConnector.get_redshift | Using possibly undefined loop variable 'group_z' | undefined-loop-variable | W0631 |
Source | 786 | 8 | refactor | DatabaseConnector.get_redshift | Too many nested blocks (6/5) | too-many-nested-blocks | R1702 |
Source | 816 | 16 | warning | DatabaseConnector.get_redshift | Consider explicitly re-raising using 'raise KeyError(f'{lc}: {e}') from e' | raise-missing-from | W0707 |
Source | 94 | 0 | refactor | DatabaseConnector | Too many public methods (21/20) | too-many-public-methods | R0904 |
Source | 16 | 0 | convention | standard import "from collections.abc import Sequence" should be placed before "import pandas as pd" | wrong-import-order | C0411 | |
Source | 18 | 0 | convention | standard import "from pathlib import Path" should be placed before "import pandas as pd" | wrong-import-order | C0411 |
timewise_sup.plots
timewise_sup.plots.chi2_histograms
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 2 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 25 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 26 | 0 | convention | Line too long (164/100) | line-too-long | C0301 | |
Source | 54 | 18 | warning | make_timewise_chi2_histograms | Unused variable 'w1w2' | unused-variable | W0612 |
Source | 54 | 24 | warning | make_timewise_chi2_histograms | Unused variable 'w2w3' | unused-variable | W0612 |
timewise_sup.plots.color_plots
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 4 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 5 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 110 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 123 | 0 | convention | Line too long (109/100) | line-too-long | C0301 | |
Source | 235 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 27 | 0 | refactor | color_plot | Too many arguments (11/5) | too-many-arguments | R0913 |
Source | 27 | 0 | refactor | color_plot | Too many local variables (24/15) | too-many-locals | R0914 |
Source | 105 | 8 | convention | color_plot | Consider using enumerate instead of iterating with range and len | consider-using-enumerate | C0200 |
Source | 147 | 0 | refactor | agn_box_plot | Too many arguments (9/5) | too-many-arguments | R0913 |
Source | 147 | 0 | refactor | agn_box_plot | Too many local variables (24/15) | too-many-locals | R0914 |
Source | 206 | 12 | refactor | agn_box_plot | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 17 | 0 | convention | Imports from package numpy are not grouped | ungrouped-imports | C0412 |
timewise_sup.plots.diagnostic_plots
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 4 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 6 | 0 | convention | Line too long (116/100) | line-too-long | C0301 | |
Source | 8 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 43 | 0 | convention | Line too long (115/100) | line-too-long | C0301 | |
Source | 178 | 0 | convention | Line too long (105/100) | line-too-long | C0301 | |
Source | 203 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 276 | 0 | convention | Line too long (110/100) | line-too-long | C0301 | |
Source | 288 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 290 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 291 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 415 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 438 | 0 | convention | Line too long (103/100) | line-too-long | C0301 | |
Source | 440 | 0 | convention | Line too long (118/100) | line-too-long | C0301 | |
Source | 447 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 37 | 0 | refactor | chunk_distribution_plots | Too many local variables (19/15) | too-many-locals | R0914 |
Source | 92 | 15 | refactor | chunk_distribution_plots | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 95 | 20 | refactor | chunk_distribution_plots | Consider using '{}' instead of a call to 'dict'. | use-dict-literal | R1735 |
Source | 131 | 21 | error | chunk_distribution_plots | Value 'number_of_catalogue_matches' is unsubscriptable | unsubscriptable-object | E1136 |
Source | 135 | 12 | error | chunk_distribution_plots | Value 'number_of_catalogue_matches' is unsubscriptable | unsubscriptable-object | E1136 |
Source | 149 | 25 | warning | chunk_distribution_plots | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 37 | 0 | refactor | chunk_distribution_plots | Too many statements (52/50) | too-many-statements | R0915 |
Source | 188 | 59 | warning | positional_outliers | Using an f-string that does not have any interpolated variables | f-string-without-interpolation | W1309 |
Source | 194 | 0 | refactor | color_change | Too many arguments (6/5) | too-many-arguments | R0913 |
Source | 194 | 0 | refactor | color_change | Too many local variables (39/15) | too-many-locals | R0914 |
Source | 194 | 0 | refactor | color_change | Too many statements (81/50) | too-many-statements | R0915 |
Source | 364 | 0 | refactor | plot_separation | Too many arguments (10/5) | too-many-arguments | R0913 |
Source | 364 | 0 | refactor | plot_separation | Too many local variables (22/15) | too-many-locals | R0914 |
Source | 406 | 23 | warning | plot_separation | Access to a protected member _get_chunk_number of a client class | protected-access | W0212 |
Source | 410 | 42 | warning | plot_separation | Access to a protected member _tap_orig_id_key of a client class | protected-access | W0212 |
Source | 415 | 52 | warning | plot_separation | Access to a protected member _get_chunk_number of a client class | protected-access | W0212 |
Source | 17 | 0 | convention | standard import "from pathlib import Path" should be placed before "import matplotlib.pyplot as plt" | wrong-import-order | C0411 |
timewise_sup.plots.ensemble_lightcurves
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 4 | 0 | convention | Line too long (101/100) | line-too-long | C0301 | |
Source | 14 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 15 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 58 | 0 | convention | Line too long (102/100) | line-too-long | C0301 | |
Source | 59 | 0 | convention | Line too long (107/100) | line-too-long | C0301 | |
Source | 120 | 0 | convention | Line too long (111/100) | line-too-long | C0301 | |
Source | 23 | 0 | refactor | make_lightcurves_ensemble_plot | Too many local variables (30/15) | too-many-locals | R0914 |
Source | 64 | 8 | refactor | make_lightcurves_ensemble_plot | Consider using [] instead of list() | use-list-literal | R1734 |
Source | 16 | 0 | warning | Unused Index imported from timewise_sup.mongo | unused-import | W0611 |
timewise_sup.plots.ir_energies
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 30 | 0 | convention | Line too long (114/100) | line-too-long | C0301 | |
Source | 22 | 0 | refactor | ir_energy_hist | Too many local variables (16/15) | too-many-locals | R0914 |
Source | 40 | 11 | refactor | ir_energy_hist | Consider using [] instead of list() | use-list-literal | R1734 |
timewise_sup.plots.plot_lightcurves
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 45 | 0 | convention | Line too long (104/100) | line-too-long | C0301 | |
Source | 47 | 0 | convention | Line too long (113/100) | line-too-long | C0301 | |
Source | 97 | 0 | convention | Line too long (112/100) | line-too-long | C0301 | |
Source | 99 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 101 | 0 | convention | Line too long (117/100) | line-too-long | C0301 | |
Source | 147 | 0 | convention | Line too long (106/100) | line-too-long | C0301 | |
Source | 24 | 0 | refactor | plot_sample_lightcurves | Too many arguments (6/5) | too-many-arguments | R0913 |
Source | 63 | 13 | warning | plot_sample_lightcurves | Unused variable 'ax' | unused-variable | W0612 |
Source | 77 | 0 | refactor | plot_single_lightcurve | Too many arguments (7/5) | too-many-arguments | R0913 |
Source | 120 | 0 | refactor | make_lightcurve_plot | Too many arguments (6/5) | too-many-arguments | R0913 |
Source | 13 | 0 | convention | standard import "import logging" should be placed before "import matplotlib.pyplot as plt" | wrong-import-order | C0411 |
timewise_sup.plots.test_data_res
Line | Column | Type | Object | Message | Symbol | Message Id | |
---|---|---|---|---|---|---|---|
Source | 92 | 0 | convention | Line too long (108/100) | line-too-long | C0301 | |
Source | 70 | 20 | warning | Anomalous backslash in string: '\c'. String constant might be missing an r prefix. | anomalous-backslash-in-string | W1401 | |
Source | 1 | 0 | convention | Missing module docstring | missing-module-docstring | C0114 | |
Source | 15 | 0 | convention | get_red_chi2 | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 37 | 0 | convention | get_res_info | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 53 | 0 | convention | make_autopct | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 61 | 0 | convention | make_res_plot | Missing function or method docstring | missing-function-docstring | C0116 |
Source | 6 | 0 | convention | standard import "import os" should be placed before "import pandas as pd" | wrong-import-order | C0411 |