Skip to content

Commit f04ded9

Browse files
chore(deps-dev): bump the pip group across 1 directory with 2 updates (#201)
Bumps the pip group with 2 updates in the / directory: [coverage](https://github.com/nedbat/coveragepy) and [ruff](https://github.com/astral-sh/ruff). Updates `coverage` from 7.10.6 to 7.10.7 - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](coveragepy/coveragepy@7.10.6...7.10.7) Updates `ruff` from 0.12.12 to 0.13.1 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.12.12...0.13.1) --- updated-dependencies: - dependency-name: coverage dependency-version: 7.10.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: pip - dependency-name: ruff dependency-version: 0.13.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pip ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent ea70d71 commit f04ded9

File tree

11 files changed

+182
-165
lines changed

11 files changed

+182
-165
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ indent_style = space
1010
insert_final_newline = true
1111
trim_trailing_whitespace = true
1212

13+
[*.md]
14+
indent_size = 2
15+
indent_style = space
16+
1317
[LICENSE.txt]
1418
insert_final_newline = false
1519

.github/dependabot.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: github-actions
5+
directory: "/"
6+
groups:
7+
actions:
8+
patterns:
9+
- "*"
10+
schedule:
11+
# Check for updates to GitHub Actions every month
12+
interval: monthly
13+
- package-ecosystem: pip
14+
directory: "/"
15+
groups:
16+
pip:
17+
patterns:
18+
- "*"
19+
schedule:
20+
# Check for updates to GitHub Actions every month
21+
interval: monthly

.github/dependabot.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/checks.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
name: "checks"
2+
name: checks
33
permissions:
44
contents: read
55
pull-requests: read
66

77
"on":
88
pull_request:
99
branches:
10-
- "main"
10+
- main
1111

1212
jobs:
1313
conventional-commits:
@@ -19,13 +19,7 @@ jobs:
1919
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
2020
linting:
2121
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
22-
with:
23-
ruff_version: '0.8.6'
24-
use_pylama: false
25-
use_ruff: true
2622
unit-tests:
2723
uses: broadinstitute/shared-workflows/.github/workflows/[email protected]
2824
with:
2925
python_package_name: pysudoers
30-
run_coverage: false
31-
test_runner: pytest

.github/workflows/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: "deploy"
2+
name: deploy
33
permissions:
44
contents: read
55
pull-requests: read

.github/workflows/test_deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
name: "test_deploy"
2+
name: test_deploy
33
permissions:
44
contents: read
55
pull-requests: read
66
"on":
77
pull_request:
88
branches:
9-
- "main"
9+
- main
1010

1111
jobs:
1212
pypi_test_deploy:

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"proseWrap": "always",
3+
"trailingComma": "es5"
4+
}

docs/README.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ compliant with the EBNF format of the file (yet), but it's getting there.
1616
Currently, the script parses out 6 distinct line types from the file:
1717

1818
- Defaults (This is only a string currently. Pieces of a Defaults setting are
19-
not parsed/separated.)
19+
not parsed/separated.)
2020
- Cmnd_Alias
2121
- Host_Alias
2222
- Runas_Alias
@@ -36,8 +36,8 @@ specification are separated out as part of the parsing:
3636

3737
One caveat to add is, this module currently does not do anything with
3838
`#include`, `#includedir`, `@include` and `@includedir` lines, but simply
39-
ignores them. You can, however, parse any included files individually if
40-
needed, but any interdependencies between the files will not be resolved.
39+
ignores them. You can, however, parse any included files individually if needed,
40+
but any interdependencies between the files will not be resolved.
4141

4242
## Installing
4343

@@ -50,8 +50,8 @@ pip install pysudoers
5050
## Examples
5151

5252
Parsing of the `sudoers` file is done as part of initializing the `Sudoers`
53-
object. So, you can start using the properties under `Sudoers` immediately.
54-
The following example will print out all the different "types" from the file:
53+
object. So, you can start using the properties under `Sudoers` immediately. The
54+
following example will print out all the different "types" from the file:
5555

5656
```Python
5757
from pysudoers import Sudoers
@@ -95,18 +95,17 @@ for rule in sobj.rules:
9595

9696
## Contributing
9797

98-
Pull requests to add functionality and fix bugs are always welcome. Please
99-
check the CONTRIBUTING.md for specifics on contributions.
98+
Pull requests to add functionality and fix bugs are always welcome. Please check
99+
the CONTRIBUTING.md for specifics on contributions.
100100

101101
### Testing
102102

103-
We try to have a high level of test coverage on the code. Therefore, when
104-
adding anything to the repo, tests should be written to test a new feature or
105-
to test a bug fix so that there won't be a regression. This library is setup to
106-
be pretty simple to build a working development environment using [Docker][3]
107-
or [Podman][6]. Therefore, it is suggested that you have [Docker][3] or
108-
[Podman][6] installed where you clone this repository to make development
109-
easier.
103+
We try to have a high level of test coverage on the code. Therefore, when adding
104+
anything to the repo, tests should be written to test a new feature or to test a
105+
bug fix so that there won't be a regression. This library is setup to be pretty
106+
simple to build a working development environment using [Docker][3] or
107+
[Podman][6]. Therefore, it is suggested that you have [Docker][3] or [Podman][6]
108+
installed where you clone this repository to make development easier.
110109

111110
To start a development environment, you should be able to just run the `dev.sh`
112111
script. This script will use the `Containerfile` in this repository to build a
@@ -131,11 +130,11 @@ Changelogs are now created as part of the GitHub release process.
131130
## Versioning
132131

133132
Updating the version is typically done using the [bump2version][5] tool. This
134-
tool takes care of updating the version in all necessary files, updating its
135-
own configuration, and making a GitHub commit and tag. We typically do version
136-
bumps as part of a PR, so you don't want to have [bump2version][5] tag the
137-
version at the same time it does the commit as commit hashes may change.
138-
Therefore, to bump the version a patch level, one would run the command:
133+
tool takes care of updating the version in all necessary files, updating its own
134+
configuration, and making a GitHub commit and tag. We typically do version bumps
135+
as part of a PR, so you don't want to have [bump2version][5] tag the version at
136+
the same time it does the commit as commit hashes may change. Therefore, to bump
137+
the version a patch level, one would run the command:
139138

140139
```Shell
141140
bump2version --verbose --no-tag patch

mkdocs.yml renamed to mkdocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
site_name: 'python-sudoers Documentation'
2+
site_name: python-sudoers Documentation
33

44
nav:
55
- Home: README.md

0 commit comments

Comments
 (0)