This repository contains a sample Python application with linting using Flake8 and Continuous Integration (CI) setup using GitHub Actions.
- Overview
- Project Structure
- Setup and Installation
- Running the Application
- Linting with Flake8
- Continuous Integration
- Contributing
The project demonstrates a basic setup for a Python application, including code linting and automated CI pipelines.
app.py
: A simple Python script with basic functionalities..flake8
: Configuration file for Flake8 linting..github/workflows/python-ci.yml
: GitHub Actions workflow for CI.
To set up the project locally:
- Clone the repository.
- Install Python 3.8 or higher.
- (Optional) Set up a virtual environment.
- Install dependencies:
pip install -r requirements.txt
Run the application using the command: python app.py
To lint the project, run: flake8 app.py
The project uses GitHub Actions for CI, which runs linting on every push or pull request to the main
branch.
Contributions to this project are welcome. Please ensure that your code adheres to the project's coding standards and passes all CI checks.