跳到主要内容

linting

Black

使用 Black(不妥协的 Python 代码格式化工具)强制执行一致的代码格式,促进可读性并减少 diff,涵盖与 Black 的配置、使用和集成相关的最佳实践。

Eslint

此规则为 ESLint 提供了全面的指南,涵盖代码组织、常见模式、性能、安全性、测试和工具,以确保高质量、可维护的 JavaScript/TypeScript 代码。

Flake8

Comprehensive guide for using Flake8 effectively in Python projects, covering code style, error prevention, security, testing, and optimization. It outlines best practices, patterns, and common pitfalls to help developers maintain high code quality and adherence to standards.

Pylint

该规则文件提供了使用 Pylint 的全面最佳实践,以确保高质量、可维护和安全的代码。它涵盖了代码组织、常见模式、性能、安全、测试和工具。