Skip to content

Commit

Permalink
Add python PEP621/PEP5128 support (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
paquiteau authored Feb 19, 2023
1 parent e18ad4d commit 047c2a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## master (unreleased)

### New features

* [#1821](https://github.com/bbatsov/projectile/pull/1821): Add `pyproject.toml` discovery for python projects.

## 2.7.0 (2022-11-22)

### New features
Expand Down
6 changes: 6 additions & 0 deletions projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -3320,6 +3320,12 @@ a manual COMMAND-TYPE command is created with
:test "poetry run python -m unittest discover"
:test-prefix "test_"
:test-suffix "_test")
(projectile-register-project-type 'python-toml '("pyproject.toml")
:project-file "pyproject.toml"
:compile "python -m build"
:test "python -m unittest discover"
:test-prefix "test_"
:test-suffix "_test")
;; Java & friends
(projectile-register-project-type 'maven '("pom.xml")
:project-file "pom.xml"
Expand Down

0 comments on commit 047c2a4

Please sign in to comment.