Skip to content

Commit 255fdb9

Browse files
Update README & pyproject.toml
1 parent a1f755b commit 255fdb9

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
The "Solutions to CodinGame Puzzles" project is a collection of answers to coding problems from CodinGame. CodinGame is a website where people can practice coding by solving puzzles. In this project, people have written solutions to these puzzles using languages like Python, C++, and Java. Each solution is saved in a file named after the puzzle it solves. The puzzles range from easy to hard and cover different coding topics like variables, conditions, and arrays. The goal of the project is to help developers get better at problem-solving and learn different ways of coding. It also includes explanations to help people understand the solutions better.
88

9-
![](https://img.shields.io/github/languages/count/charlesfranciscodev/codingame.svg) ![Python Version](https://img.shields.io/badge/python-3.12%2B-blue.svg) [![](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
9+
![](https://img.shields.io/github/languages/count/charlesfranciscodev/codingame.svg) ![Python Version](https://img.shields.io/badge/python-3.12%2B-blue.svg) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
1010

1111
## Puzzles
1212

@@ -74,6 +74,12 @@ poetry run ruff check .
7474

7575
# Formatting
7676
poetry run ruff format .
77+
78+
# Update Python version
79+
conda update python
80+
81+
# Update ruff version
82+
poetry add ruff@latest --dev
7783
```
7884

7985
## General Tips

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[tool.poetry]
22
name = "codingame"
33
version = "0.1.0"
4-
description = "The project offers a diverse repository of solutions to programming challenges from CodinGame, featuring implementations in Python, C++, Java, and other languages. Organized by challenge difficulty, topics span from basic concepts like variables and conditions to advanced topics such as graphs and dynamic programming. With a focus on efficiency and clarity, the project aims to enhance developers' problem-solving skills while fostering friendly competition. Detailed documentation and adherence to coding standards ensure accessibility for contributors and users, making it a valuable resource for developers seeking to hone their coding abilities through engaging challenges."
4+
description = "Solutions to CodinGame Puzzles"
55
authors = ["Charles-A. Francisco"]
66
readme = "README.md"
77

88
[tool.poetry.dependencies]
99
python = "^3.12"
1010

1111
[tool.poetry.group.dev.dependencies]
12-
ruff = "^0.2.2"
12+
ruff = "^0.6.8"
1313

1414
[build-system]
1515
requires = ["poetry-core"]
@@ -49,8 +49,8 @@ exclude = [
4949
line-length = 120
5050
indent-width = 4
5151

52-
# Python version
53-
target-version = "py311"
52+
# Always generate Python 3.12 compatible code.
53+
target-version = "py312"
5454

5555
[tool.ruff.lint]
5656
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.

0 commit comments

Comments
 (0)