Skip to content

Commit

Permalink
feat: require --extras; fix cli help
Browse files Browse the repository at this point in the history
  • Loading branch information
dmyersturnbull committed May 8, 2021
1 parent c4d3e06 commit 5d1a73c
Show file tree
Hide file tree
Showing 10 changed files with 200 additions and 243 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@
Adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.10.0] - unreleased
## [0.10.0] - 2021-05-08

### Changed

- Made files like CITATION.cff require a `--extras` flag

### Fixed

- Typer help

## [0.9.x] - 2021-03-14

Expand All @@ -17,6 +25,7 @@ and [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Improved the contributing guide

### Removed

- Code of conduct file (a link is fine)

### Fixed
Expand Down
16 changes: 0 additions & 16 deletions CITATION.cff

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ tyrannosaurus new myproject --track
```

After initializing your project, Tyrannosaurus will list manual steps like adding API keys.
Feel free to delete files you don’t want (codemeta and citation.cff, for example).
Just delete files you don’t want. Or pass `--extras` to include extra files like
azure-pipelines config and `codemeta.json`.

### 💡 Main behavior / features

Expand Down Expand Up @@ -194,6 +195,7 @@ Some of the packages in the table above need more explanation:
### ✨ Projects made with Tyrannosaurus

These are some example projects that were generated with Tyrannosaurus:

- [Tyrannosaurus](https://github.com/dmyersturnbull/tyrannosaurus)
- [Mandos](https://github.com/dmyersturnbull/mandos)
- [typed-dfs](https://github.com/dmyersturnbull/typed-dfs)
Expand Down
45 changes: 0 additions & 45 deletions codemeta.json

This file was deleted.

124 changes: 49 additions & 75 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "tyrannosaurus"
version = "0.9.7"
version = "0.10.0"
description = "Generate beautifully modern Python projects with seamless, GitHub-based CI/CD and loads of integrations."
authors = ["Douglas Myers-Turnbull"]
maintainers = ["Douglas Myers-Turnbull"]
Expand Down Expand Up @@ -136,10 +136,10 @@ python = ">=3.8, <4"
tomlkit = ">=0.7, <1"
typer = ">=0.3, <1"
requests = ">=2.24, <3"
grayskull = ">=0.8.4, <1"
grayskull = ">=0.8.5, <1"

[tool.poetry.dev-dependencies]
pre-commit = ">=2.11, <3.0"
pre-commit = ">=2.12, <3.0"
pre-commit-hooks = ">=3.4, <4.0"
bandit = ">=1.7, <2.0"
black = {git = "https://github.com/psf/black.git", rev="692c0f50d91"}
Expand Down
1 change: 1 addition & 0 deletions tests/test_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def _test_it(self, should_track=False, tyranno_vr="latest"):
version="0.1.0",
status=DevStatus.alpha,
should_track=should_track,
extras=False,
tyranno_vr=tyranno_vr,
).create(path)
assert (path / "pyproject.toml").exists()
Expand Down
Loading

0 comments on commit 5d1a73c

Please sign in to comment.