Repository Analysis

spotify/luigi

Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualization etc. It also comes with Hadoop support built in.

22.9 Moderate AI signal View on GitHub
22.9
Adjusted Score
22.9
Raw Score
100%
Time Factor
2026-05-19
Last Push
18,727
Stars
Python
Language
70,798
Lines of Code
319
Files
1381
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 4HIGH 48MEDIUM 13LOW 1316

Pattern Findings

1381 matches across 16 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers891 hits · 896 pts
SeverityFileLineSnippet
LOWtest/notifications_test.py143 def test_generate_unicode_email(self):
LOWtest/notifications_test.py243 def test_sends_smtp_email_without_tls(self):
LOWtest/notifications_test.py276 def test_sends_smtp_email_exceptions(self):
LOWtest/notifications_test.py311 def test_sends_sendgrid_email(self):
LOWtest/notifications_test.py380 def test_sns_subject_is_shortened(self):
LOWtest/optional_parameter_test.py56 def test_optional_int_parameter(self):
LOWtest/optional_parameter_test.py61 def test_optional_bool_parameter(self):
LOWtest/optional_parameter_test.py66 def test_optional_float_parameter(self):
LOWtest/optional_parameter_test.py71 def test_optional_dict_parameter(self):
LOWtest/optional_parameter_test.py76 def test_optional_list_parameter(self):
LOWtest/optional_parameter_test.py81 def test_optional_tuple_parameter(self):
LOWtest/optional_parameter_test.py86 def test_optional_numerical_parameter_float(self):
LOWtest/optional_parameter_test.py91 def test_optional_numerical_parameter_int(self):
LOWtest/optional_parameter_test.py96 def test_optional_choice_parameter(self):
LOWtest/optional_parameter_test.py102 def test_optional_choice_parameter_int(self):
LOWtest/scheduler_message_test.py86 def test_receive_messages_disabled(self):
LOWtest/scheduler_message_test.py103 def test_send_messages_disabled(self):
LOWtest/interface_test.py67 def _summary_dict_module_path():
LOWtest/interface_test.py70 def test_interface_run_positive_path(self):
LOWtest/interface_test.py75 def test_interface_run_positive_path_with_detailed_summary_enabled(self):
LOWtest/interface_test.py80 def test_interface_run_with_add_failure(self):
LOWtest/interface_test.py85 def test_interface_run_with_add_failure_with_detailed_summary_enabled(self):
LOWtest/interface_test.py90 def test_interface_run_with_run_failure(self):
LOWtest/interface_test.py95 def test_interface_run_with_run_failure_with_detailed_summary_enabled(self):
LOWtest/interface_test.py101 def test_that_status_is_success(self, fake_summary_dict):
LOWtest/interface_test.py108 def test_that_status_is_success_with_retry(self, fake_summary_dict):
LOWtest/interface_test.py115 def test_that_status_is_failed_when_there_is_one_failed_task(self, fake_summary_dict):
LOWtest/interface_test.py122 def test_that_status_is_failed_with_scheduling_failure(self, fake_summary_dict):
LOWtest/interface_test.py131 def test_that_status_is_scheduling_failed_with_one_scheduling_error(self, fake_summary_dict):
LOWtest/interface_test.py138 def test_that_status_is_not_run_with_one_task_not_run(self, fake_summary_dict):
LOWtest/interface_test.py145 def test_that_status_is_missing_ext_with_one_task_with_missing_external_dependency(self, fake_summary_dict):
LOWtest/interface_test.py151 def test_stops_worker_on_add_exception(self):
LOWtest/interface_test.py159 def test_stops_worker_on_run_exception(self):
LOWtest/interface_test.py168 def test_just_run_main_task_cls(self):
LOWtest/interface_test.py181 def test_run_with_int_raises_type_error(self):
LOWtest/interface_test.py187 def test_run_with_dict_raises_type_error(self):
LOWtest/interface_test.py193 def test_run_with_none_does_not_raise_type_error(self):
LOWtest/interface_test.py201 def test_run_with_valid_list_does_not_raise_type_error(self):
LOWtest/interface_test.py215 def test_parallel_scheduling_processes_default(self):
LOWtest/interface_test.py219 def test_parallel_scheduling_processes(self):
LOWtest/interface_test.py48 def _create_summary_dict_with(self, updates={}):
LOWtest/task_forwarded_attributes_test.py31 def gather_forwarded_attributes(self):
LOWtest/conftest.py25def pytest_collection_modifyitems(items: List[pytest.Item]) -> None:
LOWtest/choice_parameter_test.py43 def test_choices_parameter_exception(self):
LOWtest/scheduler_api_test.py304 def test_get_work_with_unbatched_worker_on_batched_task(self):
LOWtest/scheduler_api_test.py314 def test_batched_tasks_become_batch_running(self):
LOWtest/scheduler_api_test.py321 def test_downstream_jobs_from_batch_running_have_upstream_running_status(self):
LOWtest/scheduler_api_test.py331 def test_set_batch_runner_new_task(self):
LOWtest/scheduler_api_test.py402 def test_batch_fail_from_dead_worker(self):
LOWtest/scheduler_api_test.py409 def test_batch_fail_max_from_dead_worker(self):
LOWtest/scheduler_api_test.py416 def test_batch_fail_from_dead_worker_without_running(self):
LOWtest/scheduler_api_test.py468 def test_resend_batch_on_get_work_retry(self):
LOWtest/scheduler_api_test.py478 def test_resend_batch_runner_on_get_work_retry(self):
LOWtest/scheduler_api_test.py483 def test_resend_max_batch_runner_on_get_work_retry(self):
LOWtest/scheduler_api_test.py488 def test_do_not_resend_batch_runner_on_get_work(self):
LOWtest/scheduler_api_test.py493 def test_do_not_resend_max_batch_runner_on_get_work(self):
LOWtest/scheduler_api_test.py498 def test_rescheduled_batch_running_tasks_stay_batch_running_before_runner(self):
LOWtest/scheduler_api_test.py508 def test_rescheduled_batch_running_tasks_stay_batch_running_after_runner(self):
LOWtest/scheduler_api_test.py514 def test_disabled_batch_running_tasks_stay_batch_running_before_runner(self):
LOWtest/scheduler_api_test.py524 def test_get_work_returns_batch_task_id_list(self):
831 more matches not shown…
Over-Commented Block234 hits · 229 pts
SeverityFileLineSnippet
LOWtest/task_bulk_complete_test.py1# -*- coding: utf-8 -*-
LOWtest/notifications_test.py1# -*- coding: utf-8 -*-
LOWtest/scheduler_message_test.py1# -*- coding: utf-8 -*-
LOWtest/dict_parameter_test.py1# -*- coding: utf-8 -*-
LOWtest/most_common_test.py1# -*- coding: utf-8 -*-
LOWtest/interface_test.py1# -*- coding: utf-8 -*-
LOWtest/dynamic_import_test.py1# -*- coding: utf-8 -*-
LOWtest/task_forwarded_attributes_test.py1# -*- coding: utf-8 -*-
LOWtest/choice_parameter_test.py1# -*- coding: utf-8 -*-
LOWtest/scheduler_api_test.py1# -*- coding: utf-8 -*-
LOWtest/util_previous_test.py1# -*- coding: utf-8 -*-
LOWtest/event_callbacks_test.py1# -*- coding: utf-8 -*-
LOWtest/scheduler_test.py1# -*- coding: utf-8 -*-
LOWtest/clone_test.py1# -*- coding: utf-8 -*-
LOWtest/list_parameter_test.py1# -*- coding: utf-8 -*-
LOWtest/config_env_test.py1# -*- coding: utf-8 -*-
LOWtest/scheduler_parameter_visibilities_test.py1# -*- coding: utf-8 -*-
LOWtest/range_test.py1# -*- coding: utf-8 -*-
LOWtest/set_task_name_test.py1# -*- coding: utf-8 -*-
LOWtest/parameter_test.py1# -*- coding: utf-8 -*-
LOWtest/_mysqldb_test.py1# -*- coding: utf-8 -*-
LOWtest/lock_test.py1# -*- coding: utf-8 -*-
LOWtest/test_sigpipe.py1# -*- coding: utf-8 -*-
LOWtest/date_interval_test.py1# -*- coding: utf-8 -*-
LOWtest/decorator_test.py1# -*- coding: utf-8 -*-
LOWtest/scheduler_visualisation_test.py1# -*- coding: utf-8 -*-
LOWtest/recursion_test.py1# -*- coding: utf-8 -*-
LOWtest/worker_external_task_test.py1# Copyright (c) 2015
LOWtest/local_target_test.py1# -*- coding: utf-8 -*-
LOWtest/target_test.py1# -*- coding: utf-8 -*-
LOWtest/task_running_resources_test.py1# -*- coding: utf-8 -*-
LOWtest/subtask_test.py1# -*- coding: utf-8 -*-
LOWtest/worker_task_process_test.py1# -*- coding: utf-8 -*-
LOWtest/task_history_test.py1# -*- coding: utf-8 -*-
LOWtest/worker_scheduler_com_test.py1# -*- coding: utf-8 -*-
LOWtest/util_test.py1# -*- coding: utf-8 -*-
LOWtest/custom_metrics_test.py1# -*- coding: utf-8 -*-
LOWtest/task_progress_percentage_test.py1# -*- coding: utf-8 -*-
LOWtest/worker_test.py1# -*- coding: utf-8 -*-
LOWtest/helpers_test.py1# -*- coding: utf-8 -*-
LOWtest/test_ssh.py1# -*- coding: utf-8 -*-
LOWtest/factorial_test.py1# -*- coding: utf-8 -*-
LOWtest/worker_task_test.py1# -*- coding: utf-8 -*-
LOWtest/db_task_history_test.py1# -*- coding: utf-8 -*-
LOWtest/fib_test.py1# -*- coding: utf-8 -*-
LOWtest/config_toml_test.py1# -*- coding: utf-8 -*-
LOWtest/_test_ftp.py1# -*- coding: utf-8 -*-
LOWtest/task_test.py1# -*- coding: utf-8 -*-
LOWtest/wrap_test.py1# -*- coding: utf-8 -*-
LOWtest/instance_test.py1# -*- coding: utf-8 -*-
LOWtest/import_test.py1# -*- coding: utf-8 -*-
LOWtest/safe_extractor_test.py1# -*- coding: utf-8 -*-
LOWtest/rpc_test.py1# -*- coding: utf-8 -*-
LOWtest/retcodes_test.py1# -*- coding: utf-8 -*-
LOWtest/other_module.py1# -*- coding: utf-8 -*-
LOWtest/simulate_test.py1# -*- coding: utf-8 -*-
LOWtest/worker_parallel_scheduling_test.py1# -*- coding: utf-8 -*-
LOWtest/server_test.py1# -*- coding: utf-8 -*-
LOWtest/date_parameter_test.py1# -*- coding: utf-8 -*-
LOWtest/numerical_parameter_test.py1# -*- coding: utf-8 -*-
174 more matches not shown…
Cross-File Repetition40 hits · 200 pts
SeverityFileLineSnippet
HIGHtest/contrib/redshift_test.py0copy {table} {colnames} from '{source}' credentials '{creds}' {options} ;
HIGHtest/contrib/redshift_test.py0copy {table} {colnames} from '{source}' credentials '{creds}' {options} ;
HIGHtest/contrib/redshift_test.py0copy {table} {colnames} from '{source}' credentials '{creds}' {options} ;
HIGHluigi/contrib/redshift.py0copy {table} {colnames} from '{source}' credentials '{creds}' {options} ;
HIGHluigi/tools/range.py0given a date-time, will produce a dictionary of of-params combined with the ranged task parameter
HIGHluigi/tools/range.py0given a date-time, will produce a dictionary of of-params combined with the ranged task parameter
HIGHluigi/tools/range.py0given a date-time, will produce a dictionary of of-params combined with the ranged task parameter
HIGHluigi/tools/range.py0given a date-time, will produce a dictionary of of-params combined with the ranged task parameter
HIGHluigi/tools/range.py0given a date-time, will produce a dictionary of of-params combined with the ranged task parameter
HIGHluigi/tools/range.py0given a dictionary of parameters, will extract the ranged task parameter value
HIGHluigi/tools/range.py0given a dictionary of parameters, will extract the ranged task parameter value
HIGHluigi/tools/range.py0given a dictionary of parameters, will extract the ranged task parameter value
HIGHluigi/tools/range.py0given a dictionary of parameters, will extract the ranged task parameter value
HIGHluigi/tools/range.py0given a dictionary of parameters, will extract the ranged task parameter value
HIGHluigi/contrib/redshift.py0this update id will be a unique identifier for this insert on this table.
HIGHluigi/contrib/sqla.py0this update id will be a unique identifier for this insert on this table.
HIGHluigi/contrib/rdbms.py0this update id will be a unique identifier for this insert on this table.
HIGHluigi/contrib/sqla.py0create marker table if it doesn't exist. using a separate connection since the transaction might have to be reset.
HIGHluigi/contrib/mysqldb.py0create marker table if it doesn't exist. using a separate connection since the transaction might have to be reset.
HIGHluigi/contrib/postgres.py0create marker table if it doesn't exist. using a separate connection since the transaction might have to be reset.
HIGHluigi/contrib/bigquery.py0set additional job configuration. this allows to specify job configuration parameters that are not exposed via task prop
HIGHluigi/contrib/bigquery.py0set additional job configuration. this allows to specify job configuration parameters that are not exposed via task prop
HIGHluigi/contrib/bigquery.py0set additional job configuration. this allows to specify job configuration parameters that are not exposed via task prop
HIGHexamples/elasticsearch_index.py0returns the target output for this task. in this case, a successful execution of this task will create a file on the loc
HIGHexamples/wordcount.py0returns the target output for this task. in this case, a successful execution of this task will create a file on the loc
HIGHexamples/dynamic_requirements.py0returns the target output for this task. in this case, a successful execution of this task will create a file on the loc
HIGHexamples/dynamic_requirements.py0returns the target output for this task. in this case, a successful execution of this task will create a file on the loc
HIGHexamples/dynamic_requirements.py0returns the target output for this task. in this case, a successful execution of this task will create a file on the loc
HIGHexamples/top_artists.py0returns the target output for this task. in this case, a successful execution of this task will create a file on the loc
HIGHexamples/top_artists.py0returns the target output for this task. in this case, a successful execution of this task will create a file on the loc
HIGHexamples/wordcount.py0this class represents something that was created elsewhere by an external process, so all we want to do is to implement
HIGHexamples/ftp_experiment_outputs.py0this class represents something that was created elsewhere by an external process, so all we want to do is to implement
HIGHexamples/ftp_experiment_outputs.py0this class represents something that was created elsewhere by an external process, so all we want to do is to implement
HIGHexamples/terasort.py0returns the target output for this task. in this case, a successful execution of this task will create a file in hdfs. :
HIGHexamples/terasort.py0returns the target output for this task. in this case, a successful execution of this task will create a file in hdfs. :
HIGHexamples/spark_als.py0returns the target output for this task. in this case, a successful execution of this task will create a file in hdfs. :
HIGHexamples/spark_als.py0returns the target output for this task. in this case, a successful execution of this task will create a file in hdfs. :
HIGHexamples/wordcount_hadoop.py0returns the target output for this task. in this case, a successful execution of this task will create a file in hdfs. :
HIGHexamples/top_artists.py0returns the target output for this task. in this case, a successful execution of this task will create a file in hdfs. :
HIGHexamples/top_artists.py0returns the target output for this task. in this case, a successful execution of this task will create a file in hdfs. :
Unused Imports77 hits · 58 pts
SeverityFileLineSnippet
LOWtest/notifications_test.py191
LOWtest/notifications_test.py305
LOWtest/notifications_test.py331
LOWtest/notifications_test.py360
LOW…archive_root/package/submodule_with_absolute_import.py18
LOWtest/create_packages_archive_root/package/submodule.py18
LOW…_packages_archive_root/package/subpackage/submodule.py18
LOWluigi/task.py23
LOWluigi/task.py38
LOWluigi/__init__.py21
LOWluigi/__init__.py21
LOWluigi/__init__.py21
LOWluigi/__init__.py21
LOWluigi/__init__.py21
LOWluigi/__init__.py21
LOWluigi/__init__.py21
LOWluigi/__init__.py23
LOWluigi/__init__.py24
LOWluigi/__init__.py25
LOWluigi/__init__.py25
LOWluigi/__init__.py26
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py27
LOWluigi/__init__.py63
LOWluigi/__init__.py63
LOWluigi/__init__.py64
LOWluigi/__init__.py65
LOWluigi/__init__.py65
17 more matches not shown…
Deep Nesting53 hits · 52 pts
SeverityFileLineSnippet
LOWtest/parameter_test.py117
LOWtest/target_test.py287
LOWtest/fib_test.py39
LOWtest/contrib/hadoop_jar_test.py92
LOWtest/contrib/hadoop_jar_test.py95
LOWluigi/worker.py172
LOWluigi/worker.py514
LOWluigi/worker.py772
LOWluigi/worker.py832
LOWluigi/worker.py1082
LOWluigi/worker.py1159
LOWluigi/worker.py1204
LOWluigi/metrics.py14
LOWluigi/task.py953
LOWluigi/task.py772
LOWluigi/util.py426
LOWluigi/format.py55
LOWluigi/mypy.py86
LOWluigi/mypy.py100
LOWluigi/db_task_history.py250
LOWluigi/lock.py30
LOWluigi/execution_summary.py179
LOWluigi/execution_summary.py371
LOWluigi/execution_summary.py467
LOWluigi/scheduler.py1066
LOWluigi/scheduler.py1139
LOWluigi/scheduler.py1291
LOWluigi/scheduler.py1360
LOWluigi/scheduler.py1519
LOWluigi/scheduler.py1648
LOWluigi/tools/deps.py94
LOWluigi/contrib/redshift.py287
LOWluigi/contrib/beam_dataflow.py388
LOWluigi/contrib/sqla.py323
LOWluigi/contrib/salesforce.py55
LOWluigi/contrib/salesforce.py149
LOWluigi/contrib/salesforce.py207
LOWluigi/contrib/hadoop.py88
LOWluigi/contrib/hadoop.py112
LOWluigi/contrib/hadoop.py238
LOWluigi/contrib/hadoop.py266
LOWluigi/contrib/hadoop.py931
LOWluigi/contrib/sge.py298
LOWluigi/contrib/hive.py393
LOWluigi/contrib/pig.py127
LOWluigi/contrib/external_program.py138
LOWluigi/contrib/kubernetes.py267
LOWluigi/contrib/postgres.py357
LOWluigi/contrib/presto.py57
LOWluigi/contrib/lsf.py276
LOWluigi/contrib/s3.py584
LOWluigi/contrib/hdfs/hadoopcli_clients.py170
LOWluigi/contrib/hdfs/target.py150
Excessive Try-Catch Wrapping40 hits · 47 pts
SeverityFileLineSnippet
MEDIUMtest/interface_test.py193def test_run_with_none_does_not_raise_type_error(self):
LOWtest/interface_test.py206 except Exception:
LOWtest/db_task_history_test.py112 except Exception:
MEDIUMtest/db_task_history_test.py109def setUp(self):
LOWtest/worker_parallel_scheduling_test.py177 except Exception as e:
LOWtest/contrib/docker_runner_test.py51except Exception:
MEDIUMtest/contrib/dropbox_test.py172def test_mkdir_recreate_dir(self):
MEDIUMtest/contrib/dropbox_test.py186def test_mkdir_recreate_slashed_dir(self):
LOWtest/contrib/dropbox_test.py175 except Exception as ex:
LOWtest/contrib/dropbox_test.py180 except Exception as ex:
LOWtest/contrib/dropbox_test.py189 except Exception as ex:
LOWtest/contrib/dropbox_test.py194 except Exception as ex:
LOWtest/contrib/postgres_with_server_test.py55except Exception:
LOWtest/contrib/mongo_test.py36except Exception:
LOWtest/contrib/test_ssh.py57except Exception:
LOWtest/contrib/test_ssh.py69 except Exception:
MEDIUMtest/contrib/test_ssh.py66def tearDown(self):
LOWtest/contrib/esindex_test.py64except Exception:
LOWluigi/worker.py441 except Exception:
LOWluigi/worker.py705 except Exception:
LOWluigi/worker.py806 except Exception as ex:
LOWluigi/worker.py876 except Exception as ex:
LOWluigi/worker.py956 except Exception as ex:
MEDIUMluigi/worker.py393def get(self, block=None, timeout=None):
LOWluigi/task.py441 except Exception as exc:
LOWluigi/retcodes.py83 except Exception:
LOWluigi/contrib/sqla.py361 except Exception as e:
LOWluigi/contrib/hadoop.py291 except Exception as e:
LOWluigi/contrib/hadoop.py324 except Exception as e:
LOWluigi/contrib/hadoop.py368 except Exception as e:
LOWluigi/contrib/bigquery_avro.py64 except Exception as e:
LOWluigi/contrib/bigquery_avro.py106 except Exception as e:
LOWluigi/contrib/mrrunner.py89 except Exception as exc:
LOWluigi/contrib/lsf_runner.py73 except Exception as exc:
LOWluigi/contrib/dropbox.py82 except Exception as e:
LOWluigi/contrib/presto.py178 except Exception:
LOWluigi/contrib/ssh.py289 except Exception:
LOWluigi/contrib/sge_runner.py87 except Exception as e:
LOWluigi/contrib/hdfs/format.py52 except Exception as ex:
LOWluigi/contrib/hdfs/format.py82 except Exception as ex:
Cross-Language Confusion8 hits · 42 pts
SeverityFileLineSnippet
HIGHtest/rpc_test.py117 fetch_results = ['{"response": null}', '{"response": {"pass": true}}']
HIGHtest/rpc_test.py125 fetch_results = ['{"response": null}'] * 3 + ['{"response": {}}']
HIGHtest/contrib/pai_test.py51 command = "cd scikit-learn/benchmarks && python bench_mnist.py"
HIGHtest/contrib/pai_test.py53 tasks = [TaskRole("test", "cd scikit-learn/benchmarks && python bench_mnist.py", memoryMB=4096)]
HIGHtest/contrib/bigquery_gcloud_test.py403 "default":null,
HIGHtest/contrib/bigquery_gcloud_test.py414 "default":null,
HIGHluigi/parameter.py1298 of parsing. The traversal order of standard ``dict`` is undefined, which can result various string
HIGHluigi/contrib/ssh.py141 ["-L", tunnel_host, "echo -n ready && cat"],
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippet
CRITICALtest/server_test.py477 self.mock_scheduler._state._metrics_collector.configure_http_handler.assert_called_once_with(self.handler)
CRITICALtest/contrib/spark_test.py411 spark.sql.return_value.write.saveAsTable.assert_called_with("output")
CRITICALluigi/static/visualiser/lib/jquery-1.10.0.min.js5if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:
CRITICAL…aliser/lib/jquery-ui/js/jquery-ui-1.10.3.custom.min.js6(function(e,t){function i(t,i){var a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&
Redundant / Tautological Comments11 hits · 16 pts
SeverityFileLineSnippet
LOWtest/conftest.py33 # Check if the item has any markers (custom or builtin)
LOWtest/safe_extractor_test.py88 # Check if the file exists
LOWtest/safe_extractor_test.py91 # Check if the file content is correct
LOWtest/contrib/redshift_test.py245 # Check if the `S3CopyToTable.s3_load_path` class attribute was
LOWtest/contrib/redshift_test.py360 # Check if the `S3CopyToTable.s3_load_path` class attribute was
LOWtest/contrib/spark_test.py369 # Check if find_class finds the class for the correct module name.
LOWtest/contrib/spark_test.py401 # Check if find_class finds the class for the correct module name.
LOWluigi/util.py294 # Check if the parameter exists in the inheriting task
LOWluigi/mypy.py129 # Check if a 'default' argument is explicitly provided
LOWluigi/parameter.py1803 # Output message in new file
LOWluigi/contrib/sqla.py321 reflect = False # Set this to true only if the table has already been created by alternate means
Self-Referential Comments4 hits · 15 pts
SeverityFileLineSnippet
MEDIUMtest/safe_extractor_test.py101 # Create a tar file with 3 files
MEDIUMtest/safe_extractor_test.py115 # Create a tar file with a path traversal file
MEDIUMluigi/lock.py100 # Create a pid file if it does not exist
MEDIUMdoc/conf.py6# This file is execfile()d with the current directory set to its
AI Slop Vocabulary4 hits · 7 pts
SeverityFileLineSnippet
LOWtest/contrib/s3_test.py593 # we can just use this key
LOWluigi/worker.py72# unscientifically just set the final value to a floating point number that
LOWluigi/lock.py141 # If the file happen to not exist, simply return
LOWluigi/contrib/hdfs/config.py113 # just return any random temporary location
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippet
LOWtest/contrib/gcs_test.py145 lorem = b"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt\
LOWtest/contrib/gcs_test.py145 lorem = b"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt\
LOWtest/contrib/gcs_test.py160 lorem = b"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt\
LOWtest/contrib/gcs_test.py160 lorem = b"Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt\
LOWtest/contrib/mongo_test.py166 {"_id": "person_1", "age": 11, "experience": 10, "content": "Lorem ipsum, dolor sit amet. Consectetur adipis
LOWtest/contrib/mongo_test.py166 {"_id": "person_1", "age": 11, "experience": 10, "content": "Lorem ipsum, dolor sit amet. Consectetur adipis
Overly Generic Function Names5 hits · 5 pts
SeverityFileLineSnippet
LOWtest/task_forwarded_attributes_test.py65 def run_task(self, task):
LOWtest/scheduler_test.py366 def run_task(self):
LOWtest/db_task_history_test.py97 def run_task(self, task):
LOWtest/db_task_history_test.py139 def run_task(self, task):
LOWtest/execution_summary_test.py36 def run_task(self, task):
Dead Code2 hits · 4 pts
SeverityFileLineSnippet
MEDIUMtest/execution_summary_test.py160
MEDIUMtest/execution_summary_test.py263
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMtest/visualiser/visualiser_test.py319# ---------------------------------------------------------------------------
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWluigi/contrib/ssh.py145 # make sure to get the data so we know the connection is established