localstack/localstack

View on GitHub

Showing 3,067 of 3,105 total issues

File __init__.py has 19519 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from datetime import datetime
from typing import List, Optional, TypedDict

from localstack.aws.api import RequestContext, ServiceRequest, handler

Severity: Major
Found in localstack/aws/api/ec2/__init__.py - About 2 mos to fix

    File ASLParser.py has 6402 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # Generated from /Users/mep/LocalStack/localstack/localstack/services/stepfunctions/asl/antlr/ASLParser.g4 by ANTLR 4.13.1
    # encoding: utf-8
    from antlr4 import *
    from io import StringIO
    import sys
    Severity: Major
    Found in localstack/services/stepfunctions/asl/antlr/runtime/ASLParser.py - About 2 wks to fix

      File __init__.py has 5410 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      from datetime import datetime
      from typing import Dict, List, Optional, TypedDict
      
      from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
      
      
      Severity: Major
      Found in localstack/aws/api/ssm/__init__.py - About 2 wks to fix

        Ec2Api has 616 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class Ec2Api:
            service = "ec2"
            version = "2016-11-15"
        
            @handler("AcceptAddressTransfer")
        Severity: Major
        Found in localstack/aws/api/ec2/__init__.py - About 1 wk to fix

          File __init__.py has 3738 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          from datetime import datetime
          from typing import IO, Dict, Iterable, Iterator, List, Optional, TypedDict, Union
          
          from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
          
          
          Severity: Major
          Found in localstack/aws/api/s3/__init__.py - About 1 wk to fix

            File __init__.py has 3682 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            from datetime import datetime
            from typing import List, Optional, TypedDict
            
            from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
            
            
            Severity: Major
            Found in localstack/aws/api/redshift/__init__.py - About 1 wk to fix

              File provider.py has 3247 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              import base64
              import dataclasses
              import datetime
              import json
              import logging
              Severity: Major
              Found in localstack/services/lambda_/provider.py - About 1 wk to fix

                File provider.py has 3246 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                import base64
                import copy
                import datetime
                import json
                import logging
                Severity: Major
                Found in localstack/services/s3/v3/provider.py - About 1 wk to fix

                  File __init__.py has 2908 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  from datetime import datetime
                  from typing import Dict, List, Optional, TypedDict
                  
                  from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                  
                  
                  Severity: Major
                  Found in localstack/aws/api/config/__init__.py - About 1 wk to fix

                    File __init__.py has 2840 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    from datetime import datetime
                    from typing import Dict, List, Optional, TypedDict
                    
                    from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                    
                    
                    Severity: Major
                    Found in localstack/aws/api/iam/__init__.py - About 1 wk to fix

                      File __init__.py has 2677 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      from datetime import datetime
                      from typing import Dict, List, Optional, TypedDict
                      
                      from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                      
                      
                      Severity: Major
                      Found in localstack/aws/api/cloudformation/__init__.py - About 1 wk to fix

                        File provider.py has 2314 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        import copy
                        import io
                        import json
                        import logging
                        import re
                        Severity: Major
                        Found in localstack/services/apigateway/provider.py - About 6 days to fix

                          File __init__.py has 2268 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          from datetime import datetime
                          from typing import Dict, List, Optional, TypedDict
                          
                          from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                          
                          
                          Severity: Major
                          Found in localstack/aws/api/s3control/__init__.py - About 6 days to fix

                            File __init__.py has 2187 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            from datetime import datetime
                            from typing import IO, Dict, Iterable, List, Optional, TypedDict, Union
                            
                            from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                            
                            
                            Severity: Major
                            Found in localstack/aws/api/apigateway/__init__.py - About 6 days to fix

                              File __init__.py has 2067 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              from datetime import datetime
                              from typing import Dict, List, Optional, TypedDict
                              
                              from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                              
                              
                              Severity: Major
                              Found in localstack/aws/api/dynamodb/__init__.py - About 5 days to fix

                                File __init__.py has 1982 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                from datetime import datetime
                                from typing import Dict, List, Optional, TypedDict
                                
                                from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                                
                                
                                Severity: Major
                                Found in localstack/aws/api/opensearch/__init__.py - About 5 days to fix

                                  File __init__.py has 1935 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  from datetime import datetime
                                  from typing import IO, Dict, Iterable, Iterator, List, Optional, TypedDict, Union
                                  
                                  from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                                  
                                  
                                  Severity: Major
                                  Found in localstack/aws/api/lambda_/__init__.py - About 5 days to fix

                                    File __init__.py has 1846 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    from datetime import datetime
                                    from typing import List, Optional, TypedDict
                                    
                                    from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler
                                    
                                    
                                    Severity: Major
                                    Found in localstack/aws/api/route53/__init__.py - About 5 days to fix

                                      File provider.py has 1745 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      import copy
                                      import json
                                      import logging
                                      import os
                                      import random
                                      Severity: Major
                                      Found in localstack/services/dynamodb/provider.py - About 4 days to fix

                                        File provider.py has 1650 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        import copy
                                        import datetime
                                        import logging
                                        import os
                                        from collections import defaultdict
                                        Severity: Major
                                        Found in localstack/services/s3/provider.py - About 4 days to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language