Skip to content

Commit

Permalink
Update from template, fix readme in rust foldeR
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Sep 15, 2024
1 parent b37a19a commit a6c079c
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 30 deletions.
4 changes: 2 additions & 2 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Changes here will be overwritten by Copier
_commit: 0c4df0a
_commit: f8b63c7
_src_path: .
add_extension: rust
email: t.paine154@gmail.com
email: 3105306+timkpaine@users.noreply.github.com
github: python-project-templates
project_description: A Rust-Python project template
project_name: rust template
Expand Down
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at t.paine154@gmail.com. All
reported by contacting the project team at 3105306+timkpaine@users.noreply.github.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
43 changes: 25 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "rust-template"
authors = [{name = "Python Project Template Authors", email = "t.paine154@gmail.com"}]
authors = [{name = "Python Project Template Authors", email = "3105306+timkpaine@users.noreply.github.com"}]
description="A Rust-Python project template"
readme = "README.md"
license = { text = "Apache-2.0" }
Expand Down Expand Up @@ -77,6 +77,7 @@ ignore = [
"Makefile",
"setup.py",
"rust/Cargo.lock",
"rust/README.md",
]

[tool.pytest.ini_options]
Expand All @@ -86,17 +87,14 @@ testpaths = "rust_template/tests"
[tool.ruff]
line-length = 150

[tool.ruff.lint]
extend-select = ["I"]

[tool.ruff.lint.isort]
combine-as-imports = true
default-section = "third-party"
known-first-party = ["rust_template"]
section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]

[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rust_template"
version = "0.1.0"
authors = ["Python Project Template Authors <t.paine154@gmail.com>"]
authors = ["Python Project Template Authors <3105306+timkpaine@users.noreply.github.com>"]
edition = "2021"
license = "Apache-2.0"
readme = "../README.md"
Expand Down

0 comments on commit a6c079c

Please sign in to comment.