Pipfile Exclusive -

Both files should be committed to version control to ensure consistent environments across development and deployment.

This segment isolates utilities needed exclusively during local engineering, such as testing frameworks ( pytest ), linters ( flake8 ), or code formatters ( black ). These dependencies are stripped out completely when deploying your codebase to a production environment. Pipfile vs. Pipfile.lock: What Is the Difference? Pipfile

You can configure multiple package sources in your Pipfile: Both files should be committed to version control