-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
general: sync project structure to pymplate
- Loading branch information
Showing
5 changed files
with
81 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Dmitrii Gerasimov | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
# see https://github.com/karlicoss/pymplate for up-to-date reference | ||
[project] | ||
dynamic = ["version"] # version is managed by setuptools_scm | ||
name = "kompress" | ||
# | ||
# this needs to be set if you're planning to upload to pypi | ||
# url = "" | ||
# author = "" | ||
# author_email = "" | ||
# description = "" | ||
dependencies = [ | ||
] | ||
|
||
# Rest like -- classifiers, license, etc, I don't think it matters for pypi | ||
# it's just unnecessary duplication | ||
## these need to be set if you're planning to upload to pypi | ||
description = "pathlib.Path adapters to transparently read data from compressed files and folders" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Dima Gerasimov (@karlicoss)", email = "[email protected]"}, | ||
] | ||
maintainers = [ | ||
{name = "Dima Gerasimov (@karlicoss)", email = "[email protected]"}, | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/karlicoss/kompress" | ||
## | ||
|
||
[project.optional-dependencies] | ||
testing = [ | ||
"pytest", | ||
] | ||
linting = [ | ||
"pytest", | ||
"ruff", | ||
"mypy", | ||
"lxml", # for mypy html coverage | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
ignore = [ | ||
### too opinionated style checks | ||
"E501", # too long lines | ||
"E702", # Multiple statements on one line (semicolon) | ||
"E731", # assigning lambda instead of using def | ||
"E741", # Ambiguous variable name: `l` | ||
"E742", # Ambiguous class name: `O | ||
"E401", # Multiple imports on one line | ||
"F403", # import *` used; unable to detect undefined names | ||
### | ||
|
||
### | ||
"E722", # Do not use bare `except` ## Sometimes it's useful for defensive imports and that sort of thing.. | ||
"F811", # Redefinition of unused # this gets in the way of pytest fixtures (e.g. in cachew) | ||
|
||
## might be nice .. but later and I don't wanna make it strict | ||
"E402", # Module level import not at top of file | ||
|
||
### maybe consider these soon | ||
# sometimes it's useful to give a variable a name even if we don't use it as a documentation | ||
# on the other hand, often is a sign of error | ||
"F841", # Local variable `count` is assigned to but never used | ||
"F401", # imported but unused | ||
### | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters