Skip to content

Commit

Permalink
Set python version, megalint configuration, check builds (#3)
Browse files Browse the repository at this point in the history
* set python version

* initial src directory and app file

* check megalint config

* organised main directory

* Tweak linter config to ignore infrastructure linters. Update formatting in .copier-answers.yml file

* set the repository description

* corrected the formatting

* Update README.md

---------

Co-authored-by: Liam Toozer <[email protected]>
  • Loading branch information
sudeepkunhis and liamtoozer authored Dec 4, 2024
1 parent 4896460 commit 6292872
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ dependabot_open_pull_requests_limit: 10
enable_dependabot_version_updates: true
module_name: eq_cir_converter_service
package_manager: poetry
repository_description: This repository is for the Python FastAPI application for
the CIR Converter service
repository_description: This repository is for the CIR Converter service Python FastAPI application
repository_name: eq-cir-converter-service
repository_owner: ONSdigital
repository_visibility: public
6 changes: 6 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ DISABLE_LINTERS:
- REPOSITORY_TRUFFLEHOG
- REPOSITORY_GIT_DIFF

# Ignore below infrastructure-specific linters not needed for this type of repo
- REPOSITORY_KICS
- REPOSITORY_TRIVY
- REPOSITORY_TRIVY_SBOM
- REPOSITORY_CHECKOV

SHOW_ELAPSED_TIME: true

FILEIO_REPORTER: false
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.11
3.12.6
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[![poetry-managed](https://img.shields.io/badge/poetry-managed-blue)](https://python-poetry.org/)
[![License - MIT](https://img.shields.io/badge/licence%20-MIT-1ac403.svg)](https://github.com/ONSdigital/eq-cir-converter-service/blob/main/LICENSE)

This repository is for the Python FastAPI application for the CIR Converter service
This repository is for the CIR Converter service Python FastAPI application

---

Expand Down
Empty file added src/main.py
Empty file.

0 comments on commit 6292872

Please sign in to comment.