You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move pylint configuration to pyproject.toml (#7859)
- Move pylint configuration settings to pyproject.toml
- Exclude `cirq_web/node_modules` directory from pylint check
Avoid pylint failure on vendor files if user runs `check/npm ci`.
- Update `check/pylint` and `check/pylint-changed-files` to load
configuration from pyproject.toml.
- Update docs to reference pyproject.toml instead of pylintrc
This should prevent inconsistent outcomes between `check/pylint`
and `pylint` runs.
Partially implements #6800
Copy file name to clipboardExpand all lines: docs/dev/style.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,9 @@
2
2
3
3
As mentioned in [CONTRIBUTING.md](https://github.com/quantumlib/Cirq/blob/main/CONTRIBUTING.md) we use use [Pylint](https://pylint.pycqa.org/)
4
4
to check for style violations. Pylint attempts to enforce styles in
5
-
[PEP 8](https://www.python.org/dev/peps/pep-0008/). To see which lint checks we enforce, see the
0 commit comments