A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.gitlab.com/development/python_guide/maintainership/ below:

Python Merge Requests Guidelines | GitLab Docs

GitLab standard code review guidelines apply to Python projects as well.

How to set up a Python code review process

There are two main approaches to set up a Python code review process at GitLab:

  1. Established Projects: Larger Python projects typically have their own dedicated pool of reviewers through reviewer-roulette. To set this up, see Setting Up Reviewer Roulette.
  2. Smaller Projects: For projects with fewer contributors, we maintain a shared pool of Python reviewers across GitLab.
Setting Up Reviewer Roulette

This section explains how to integrate your project with reviewer roulette and other resources to connect project contributors with Python experts for code reviews.

For both large and small projects, Reviewer Roulette can automate the reviewer assignment process. To set up:

  1. Add the Python project to the list of GitLab projects.
  2. Project maintainer(s) should add a group for the project in the GitLab.org maintainers repository
  3. Install and configure Dangerfiles in your project, ensuring CI is properly set up to enable the Reviewer Roulette plugin.

Then, depending on your project size:

When a merge request is created, Review Roulette will randomly select qualified reviewers based on your configuration.

Additional recommendations

For more information, see reviewer roulette

Ask for help

If contributors have questions or need additional help with Python-specific reviews, direct them to the GitLab #python or #python_maintainers Slack channels for assistance.

How to become Python maintainer

Established projects have their own pools of reviewers and maintainers. Smaller or new projects can benefit from the help of established Python experts at GitLab.

GitLab Python experts

GitLab Python experts are professionals with Python expertise who contribute to improving code quality across different projects. To become one:

  1. Create a merge request to add python: maintainer competency under projects to your team file.
  2. Use this template and follow the described process.

Once your merge request is merged, you’ll be added to the Python maintainers group.

Reviewers and maintainers of a specific project

Each project can establish their own review process. Review the maintainership guidelines and/or contact current maintainers for more information.

Maintainer responsibilities

In addition to code reviews, maintainers are responsible for guiding architectural decisions and monitoring and adopting relevant engineering practices introduced in GitLab.com into their Python projects. This helps to ensure Python projects are consistent and aligned with company standards. Maintaining consistency simplifies transitions between GitLab.com and Python projects while reducing context switching overhead.

Technical prerequisites for Maintainers:

Code review objectives:

Additional responsibilities:

Code review best practices

When writing and reviewing code, follow our Style Guides. Code authors and reviewers are encouraged to pay attention to these areas:

Review focus areas

When reviewing Python code at GitLab, consider the following areas:

1. Code style 2. Code quality 3. Testing 4. Documentation 5. Security Backward Compatibility Requirements

When maintaining customer-facing services, maintainers must ensure backward compatibility across supported GitLab versions. See the GitLab Statement of Support and Python deployment guidelines. Before merging changes, verify that they maintain compatibility with all supported versions to prevent disruption for users on different GitLab releases.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4