Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions example/helpers/zendesk_common/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
"""Example helpers module."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2024 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"
4 changes: 4 additions & 0 deletions example/helpers/zendesk_common/preprocessor.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Preprocessor for Zendesk API requests."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2024 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import base64

import aws_lambda_powertools.utilities.parameters
Expand Down
4 changes: 4 additions & 0 deletions picofun/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""PicoFun package."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

__app_name__ = "picofun"
4 changes: 4 additions & 0 deletions picofun/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Entry point for the application script."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import logging

import picofun.cli
Expand Down
4 changes: 4 additions & 0 deletions picofun/auth_generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Authentication hook code generator."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import re

from jinja2 import Environment, FileSystemLoader
Expand Down
4 changes: 4 additions & 0 deletions picofun/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Command line interface for picofun."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import logging
import os
import typing
Expand Down
4 changes: 4 additions & 0 deletions picofun/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Configuration handling."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import typing
from importlib.resources import files
Expand Down
4 changes: 4 additions & 0 deletions picofun/endpoint_filter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Endpoint filtering based on allowlist configuration."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import logging
import os
import re
Expand Down
4 changes: 4 additions & 0 deletions picofun/errors.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""PicoFun exceptions."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import typing

import requests
Expand Down
4 changes: 4 additions & 0 deletions picofun/lambda_generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Lambda generator."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import hashlib
import logging
import os
Expand Down
4 changes: 4 additions & 0 deletions picofun/layer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Lambda layer manager."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import logging
import os
import shutil
Expand Down
4 changes: 4 additions & 0 deletions picofun/pyproject_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Manage contents of pyproject.toml."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2025 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import re
import textwrap
Expand Down
4 changes: 4 additions & 0 deletions picofun/security.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Security scheme parsing and selection from OpenAPI specifications."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

from dataclasses import dataclass

from picofun.errors import UnsupportedSecuritySchemeError
Expand Down
4 changes: 4 additions & 0 deletions picofun/spec.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Spec file handler."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import abc
import errno
import json
Expand Down
4 changes: 4 additions & 0 deletions picofun/template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Template loader for Jinja2 templates."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import typing

Expand Down
4 changes: 4 additions & 0 deletions picofun/terraform_generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Terraform generator."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import logging
import os

Expand Down
4 changes: 4 additions & 0 deletions tests/integration/test_full_generation.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Integration tests for full generation with authentication."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import tempfile

Expand Down
4 changes: 4 additions & 0 deletions tests/test_auth_generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Tests for authentication hook code generator."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import ast

from picofun.auth_generator import _to_kebab_case, generate_auth_hooks
Expand Down
4 changes: 4 additions & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Test picofun Configuration loader."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import random
import string
Expand Down
4 changes: 4 additions & 0 deletions tests/test_endpoint_filter.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Tests for the EndpointFilter class."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import tempfile

Expand Down
4 changes: 4 additions & 0 deletions tests/test_errors.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Tests for picofun exceptions."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import pytest
import requests.exceptions
import requests.models
Expand Down
4 changes: 4 additions & 0 deletions tests/test_lambda_generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Tests for the LambdaGenerator class."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import tempfile

Expand Down
4 changes: 4 additions & 0 deletions tests/test_layer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Tests for the LayerGenerator class."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import tempfile

Expand Down
4 changes: 4 additions & 0 deletions tests/test_pyproject_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Test the pyproject manager."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2025 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import tempfile

Expand Down
4 changes: 4 additions & 0 deletions tests/test_security.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Tests for security scheme parsing and selection."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import pytest

from picofun.errors import UnsupportedSecuritySchemeError
Expand Down
4 changes: 4 additions & 0 deletions tests/test_spec.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Test the spec file handler."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import pytest
import requests

Expand Down
4 changes: 4 additions & 0 deletions tests/test_template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Test the template module."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import jinja2
import pytest

Expand Down
4 changes: 4 additions & 0 deletions tests/test_terraform_generator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
"""Tests for the TerraformGenerator class."""

__author__ = "Dave Hall <skwashd@gmail.com>"
__copyright__ = "Copyright 2023 - 2026, Dave Hall https://proactiveops.io"
__license__ = "MIT"

import os
import tempfile

Expand Down