Skip to content

Commit 6162ab8

Browse files
chore: Format pyright-scip with prettier
1 parent 3a678cf commit 6162ab8

18 files changed

Lines changed: 17757 additions & 17713 deletions

packages/pyright-scip/AGENT.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,24 @@
33
## Development Commands
44

55
### Testing
6-
- `npm test` - Run Jest tests
7-
- `npm run check-snapshots` - Check snapshot tests
8-
- `npm run update-snapshots` - Update snapshot tests
6+
7+
- `npm test` - Run Jest tests
8+
- `npm run check-snapshots` - Check snapshot tests
9+
- `npm run update-snapshots` - Update snapshot tests
910

1011
### Building
11-
- `npm run webpack` - Development build
12-
- `npm run build` - Production build
13-
- `npm run watch` - Development build with watch mode
12+
13+
- `npm run webpack` - Development build
14+
- `npm run build` - Production build
15+
- `npm run watch` - Development build with watch mode
1416

1517
### Linting and Formatting
16-
- `npm run fix:prettier` - Fix prettier formatting issues
17-
- `npm run fix:eslint` - Fix ESLint issues
18+
19+
- `npm run fix:prettier` - Fix prettier formatting issues
20+
- `npm run fix:eslint` - Fix ESLint issues
1821

1922
## Code Style
20-
- Follow existing TypeScript patterns in the codebase
21-
- Use the Sourcegraph ESLint config and Prettier config
22-
- When modifying pyright-internal code, keep changes minimal and add `NOTE(scip-python):` prefix to comments
23+
24+
- Follow existing TypeScript patterns in the codebase
25+
- Use the Sourcegraph ESLint config and Prettier config
26+
- When modifying pyright-internal code, keep changes minimal and add `NOTE(scip-python):` prefix to comments

packages/pyright-scip/CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release v0.4
22

3-
- remove: `--include` and `--exclude`. Instead use `pyproject.toml` and pyright configuration.
4-
- add: `--target-only` to only emit and parse information related to some subdirectory of your project. Should still be run from root of project.
5-
- add: `--project-namespace` to prefix any definitions in your current project. This can be useful when your package gets installed in some non-standard way and there doesn't have the appropriate prefix that other python packages would import from.
6-
- Now respects pyright config by default (and discovers applicable pyright configuration).
7-
- Updated pyright internal library
8-
- Attempt to capture possible failures in pyright library so some indexing can still be completed.
3+
- remove: `--include` and `--exclude`. Instead use `pyproject.toml` and pyright configuration.
4+
- add: `--target-only` to only emit and parse information related to some subdirectory of your project. Should still be run from root of project.
5+
- add: `--project-namespace` to prefix any definitions in your current project. This can be useful when your package gets installed in some non-standard way and there doesn't have the appropriate prefix that other python packages would import from.
6+
- Now respects pyright config by default (and discovers applicable pyright configuration).
7+
- Updated pyright internal library
8+
- Attempt to capture possible failures in pyright library so some indexing can still be completed.

packages/pyright-scip/TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- [ ] should `src` be included in the path:
1+
- [ ] should `src` be included in the path:
22

33
```
44
# definition sam 87712958455b90fe8d0fb1a0fc110b41d6c3a361 `src.sam`/__init__:

packages/pyright-scip/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,13 @@ if (typeof module.setSourceMapsSupport === 'function') {
1515
const nodeOptions = process.env.NODE_OPTIONS || '';
1616
if (!nodeOptions.includes('--enable-source-maps')) {
1717
if (nodeOptions) {
18-
console.warn('Source maps support not available. Consider adding --enable-source-maps to the existing NODE_OPTIONS environment variable.');
18+
console.warn(
19+
'Source maps support not available. Consider adding --enable-source-maps to the existing NODE_OPTIONS environment variable.'
20+
);
1921
} else {
20-
console.warn('Source maps support not available. Consider setting the NODE_OPTIONS environment variable to "--enable-source-maps".');
22+
console.warn(
23+
'Source maps support not available. Consider setting the NODE_OPTIONS environment variable to "--enable-source-maps".'
24+
);
2125
}
2226
}
2327
}

0 commit comments

Comments
 (0)