Skip to content

chore: add DeepSource config scoped to hand-written code - #96

Open
abhishekmishragithub wants to merge 1 commit into
mainfrom
chore/deepsource-config
Open

chore: add DeepSource config scoped to hand-written code#96
abhishekmishragithub wants to merge 1 commit into
mainfrom
chore/deepsource-config

Conversation

@abhishekmishragithub

Copy link
Copy Markdown
Collaborator

Adds .deepsource.toml so DeepSource analysis activates on the repo (the GitHub app is already configured).

The SDK is mostly Fern-generated, so generated surfaces are excluded to keep findings on hand-written code (crew, cli, helpers, tools, telemetry):

  • raw_client.py, client.py, socket_client.py, types/**, errors/**, core/**, environment.py, package __init__.py

Analyzers (reference):

  • pythontype_checker = mypy, max_line_length = 120 (matches ruff)
  • secrets
  • test-coverage

Standalone so DeepSource starts reading main immediately, rather than waiting for the 5.10 release. Will be removed from the 5.10 release branch to avoid a duplicate add.

abhishekmishragithub added a commit that referenced this pull request Aug 8, 2026
The .deepsource.toml is added directly to main in #96 so analysis activates
without waiting for this release. Removed here to avoid a duplicate add.
Enables DeepSource analysis on the repo. The SDK is mostly Fern-generated, so
generated surfaces (raw_client, client, socket_client, types, errors, core,
environment, package __init__) are excluded so findings focus on hand-written
code: crew, cli, helpers, tools, telemetry.

Python analyzer with mypy type checking (line length 120 to match ruff), plus
the secrets and test-coverage analyzers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant