Skip to content

Commit

Permalink
Merge pull request #218 from nautobot/drift-manager/pr
Browse files Browse the repository at this point in the history
Cookie updated by NetworkToCode Cookie Drift Manager Tool
  • Loading branch information
snaselj committed Feb 1, 2024
2 parents fbb7c77 + 4933c06 commit 57fefb9
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 131 deletions.
4 changes: 2 additions & 2 deletions .cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
"_drift_manager": {
"template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
"template_dir": "nautobot-app",
"template_ref": "develop",
"template_ref": "refs/tags/nautobot-app-v2.1.0",
"cookie_dir": "",
"branch_prefix": "drift-manager",
"pull_request_strategy": "create",
"post_actions": [
"black"
],
"draft": true,
"baked_commit_ref": "a6caf43d118d9da2655c6ac1244daf455e3f86bf"
"baked_commit_ref": "65a757a27f903f10bdaa73fabbf623b397551910"
}
}
}
118 changes: 0 additions & 118 deletions .github/workflows/rebake.yml

This file was deleted.

1 change: 1 addition & 0 deletions changes/218.housekeeping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rebaked using `nautobot-app-v2.1.0` cookiecutter template tag.
2 changes: 1 addition & 1 deletion poetry.lock

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

31 changes: 21 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ classifiers = [
packages = [
{ include = "nautobot_firewall_models" },
]
include = [
# Poetry by default will exclude files that are in .gitignore
"nautobot_firewall_models/static/nautobot_firewall_models/docs/**/*",
]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
Expand All @@ -39,7 +43,7 @@ ipython = "*"
pylint = "*"
pylint-django = "*"
pylint-nautobot = "*"
ruff = "~0.1.10"
ruff = "*"
yamllint = "*"
toml = "*"
Markdown = "*"
Expand Down Expand Up @@ -116,16 +120,10 @@ supported_nautobot_versions = [
[tool.ruff]
line-length = 120
target-version = "py38"
exclude = [
"migrations",
]

[tool.ruff.lint]
select = [
"D1", # pydocstyle
"D2", # pydocstyle
"D3", # pydocstyle
"D4", # pydocstyle
"D", # pydocstyle
]
ignore = [
# warning: `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible.
Expand All @@ -141,6 +139,19 @@ ignore = [

# Produces a lot of issues in the current codebase.
"D401", # First line of docstring should be in imperative mood
"D407", # Missing dashed underline after section
"D416", # Section name ends in colon
]

[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.per-file-ignores]
"nautobot_firewall_models/migrations/*" = [
"D", # pydocstyle
]
"nautobot_firewall_models/tests/*" = [
"D", # pydocstyle
]

[build-system]
Expand All @@ -150,10 +161,10 @@ build-backend = "poetry.core.masonry.api"
[tool.towncrier]
package = "nautobot"
directory = "changes"
filename = "docs/admin/release_notes/version_2.1.md"
filename = "docs/admin/release_notes/version_X.Y.md"
template = "development/towncrier_template.j2"
start_string = "<!-- towncrier release notes start -->"
issue_format = "[#{issue}](https://github.com/nautobot/nautobot/issues/{issue})"
issue_format = "[#{issue}](https://github.com/nautobot/nautobot-app-firewall-models/issues/{issue})"

[[tool.towncrier.type]]
directory = "security"
Expand Down

0 comments on commit 57fefb9

Please sign in to comment.