@@ -13,14 +13,22 @@ description = "A template for scikit-learn compatible packages."
1313readme = " README.md"
1414requires-python = " >=3.9"
1515dependencies = [
16- " scikit-learn>=1.4.2" ,
16+ " numpy" ,
17+ " scipy" ,
18+ " scikit-learn" ,
1719]
1820classifiers = [
21+ " Intended Audience :: Science/Research" ,
22+ " Intended Audience :: Developers" ,
23+ " Programming Language :: Python" ,
24+ " Topic :: Software Development" ,
25+ " Topic :: Scientific/Engineering" ,
1926 " Programming Language :: Python :: 3" ,
2027 " Programming Language :: Python :: 3.9" ,
2128 " Programming Language :: Python :: 3.10" ,
2229 " Programming Language :: Python :: 3.11" ,
2330 " Programming Language :: Python :: 3.12" ,
31+ " Programming Language :: Python :: 3.13" ,
2432 " License :: OSI Approved :: BSD License" ,
2533 " Operating System :: POSIX" ,
2634 " Operating System :: Unix" ,
@@ -29,8 +37,15 @@ classifiers = [
2937]
3038
3139[project .urls ]
32- Homepage = " https://github.com/scikit-learn-contrib/project-template"
33- Issues = " https://github.com/scikit-learn-contrib/project-template/issues"
40+ "Homepage" = " https://github.com/shivvor2/denmune-skl"
41+ "Bug Tracker" = " https://github.com/shivvor2/denmune-skl/issues"
42+ "Documentation" = " https://shivvor2.github.io/denmune-skl/"
43+ "Source Code" = " https://github.com/shivvor2/denmune-skl"
44+
45+ [tool .setuptools .packages .find ]
46+ where = [" ." ]
47+ # This tells the build system to look for the 'denmune_skl' directory.
48+ include = [" denmune_skl*" ]
3449
3550[tool .setuptools_scm ]
3651version_file = " skltemplate/_version.py"
@@ -86,7 +101,7 @@ dev = ["doc", "lint", "test"]
86101
87102[tool .black ]
88103line-length = 88
89- target_version = [' py38 ' , ' py39' , ' py310' ]
104+ target-version = [" py39" , " py310" , " py311 " , " py312 " , " py313 " ]
90105preview = true
91106exclude = '''
92107/(
@@ -98,17 +113,21 @@ exclude = '''
98113force-exclude = " skltemplate/_version.py"
99114
100115[tool .ruff ]
101- # max line length for black
102116line-length = 88
103- target-version = " py38"
104- exclude =[
105- " .git" ,
106- " __pycache__" ,
107- " dist" ,
108- " doc/_build" ,
109- " doc/auto_examples" ,
110- " build" ,
111- " skltemplate/_version.py" ,
117+ select = [
118+ " C" , " E" , " F" , " W" , " I" , " N" , " D" , " B" , " A" , " RUF" , " S" ,
119+ " T20" , " SIM" , " ARG" , " PTH" , " PD" , " PGH" , " PIE" , " PL" ,
120+ " TRY" , " UP" , " YTT"
121+ ]
122+ ignore = [
123+ # D203: 1 blank line required before class docstring
124+ " D203" ,
125+ # D213: Multi-line docstring summary should start at the second line
126+ " D213" ,
127+ # D401: First line should be in imperative mood
128+ " D401" ,
129+ # D415: First line should end with a period
130+ " D415" ,
112131]
113132
114133[tool .ruff .lint ]
@@ -129,6 +148,10 @@ ignore=[
129148"examples/*" =[" E402" ]
130149"doc/conf.py" =[" E402" ]
131150"doc/_templates/numpydoc_docstring.py" =[" F821" , " W292" ]
151+ # Tests can be less strict
152+ "denmune/tests/*" = [" D" , " S101" , " ARG001" ]
153+ # Allow relative imports in __init__.py
154+ "denmune/__init__.py" = [" F401" ]
132155
133156[tool .pytest .ini_options ]
134157addopts = " --doctest-modules --color=yes"
0 commit comments