Skip to content

Commit c86aea5

Browse files
committed
Delete pylint
Move everything to ruff Topic: rm-pylint Relative: sf-uv
1 parent e4744e4 commit c86aea5

157 files changed

Lines changed: 596 additions & 1252 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,21 @@ check_types:
5353
--exclude "symforce/examples/.*/gen/python2\.7/lcmtypes" \
5454
--exclude third_party
5555

56-
# Run pylint on the symforce package, and tests
56+
# Run ruff check on the symforce package, and tests
5757
# TODO(aaron): Also run on other python code in symforce. Generated code will require a different
5858
# config since it is py6 and contains a lot of duplicate code
59-
pylint:
60-
$(PYTHON) -m pylint symforce test/*.py
59+
ruff_check:
60+
ruff check
6161

6262
# Lint check for formatting and type hints
6363
# This needs pass before any merge.
64-
lint: check_types check_format pylint
64+
lint: check_types check_format ruff_check
6565

6666
# Clean all artifacts
6767
clean: docs_clean coverage_clean
6868
rm -rf $(BUILD_DIR)
6969

70-
.PHONY: all reqs format check_format check_types pylint lint clean
70+
.PHONY: all reqs format check_format check_types ruff_check lint clean
7171

7272
# -----------------------------------------------------------------------------
7373
# Tests

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# -- Project information -----------------------------------------------------
2828

2929
project = "symforce"
30-
copyright = "2022, Skydio, Inc"
30+
copyright = "2022, Skydio, Inc" # noqa: A001
3131
author = "Skydio"
3232

3333
# The short X.Y version

gen/python/sym/atan_camera_cal.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/double_sphere_camera_cal.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/equirectangular_camera_cal.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/linear_camera_cal.py

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/ops/atan_camera_cal/camera_ops.py

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/ops/atan_camera_cal/group_ops.py

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/ops/atan_camera_cal/lie_group_ops.py

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/python/sym/ops/double_sphere_camera_cal/camera_ops.py

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)